Re: Security exception problems

  •  12-05-2006, 4:51 PM

    Re: Security exception problems

    Hi,

    I still get the same result after doing the above.  I tried in version 1 & 2.  I copied the error I got from the insert image button while running in version 1.

    Thanks for your help.

    Stack Trace:

    [SecurityException: Request for the permission of type System.Security.Permissions.SecurityPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.]
    System.Security.CodeAccessSecurityEngine.CheckHelper(PermissionSet grantedSet, PermissionSet deniedSet, CodeAccessPermission demand, PermissionToken permToken) +675
    System.Security.CodeAccessSecurityEngine.Check(PermissionToken permToken, CodeAccessPermission demand, StackCrawlMark& stackMark, Int32 checkFrames, Int32 unrestrictedOverride) +0
    System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, StackCrawlMark& stackMark, PermissionType permType) +140
    System.Security.CodeAccessPermission.DemandInternal(PermissionType permissionType) +229
    System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck) +41
    System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck) +136
    System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph) +13
    System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) +1417
    System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) +430
    System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) +430
    System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) +764
    System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) +847
    System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) +872
    System.Web.UI.LosFormatter.SerializeInternal(TextWriter output, Object value) +102
    System.Web.UI.Page.OnFormRender(HtmlTextWriter writer, String formUniqueID) +143
    System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +35
    System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +260
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
    _ASP.gecko_insertimage_frame_aspx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) +153
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +27
    System.Web.UI.Control.Render(HtmlTextWriter writer) +7
    CuteEditor.EditorUtilityPage.Render(HtmlTextWriter writer) +98
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
    System.Web.UI.Page.ProcessRequestMain() +2112
    System.Web.UI.Page.ProcessRequest() +218
    System.Web.UI.Page.ProcessRequest(HttpContext context) +18
    System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +179
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87


View Complete Thread