System.Security.Permissions.FileIOPermission

Last post 05-07-2007, 10:19 AM by Adam. 1 replies.
Sort Posts: Previous Next
  •  05-03-2007, 5:33 PM 29154

    System.Security.Permissions.FileIOPermission


    Hi,
     
    I already have the temp directory setup, but still getting this, editor does not load.
     
    H.
     
     
    An unhandled exception occurred:

    Message: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

    Stack Trace:

    at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)

    at System.Security.CodeAccessPermission.Demand()

    at System.Reflection.Assembly.get_Location()

    at CuteEditor.LoadHandler.b(DateTime A_0)

    at CuteEditor.LoadHandler.a(String A_0)

    at CuteEditor.LoadHandler.ProcessRequest(HttpContext aspnetcontext)

    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

  •  05-07-2007, 10:19 AM 29248 in reply to 29154

    Re: System.Security.Permissions.FileIOPermission

    hhastekin,
     
    Have you followed the steps below when setting up temp directory?
     
    1. Create a folder under and name it "CuteEditorTemp".
     
    2. Open your web.config and add the following entry:
     
    <add key="CuteEditorTempPath" value="~/CuteEditorTemp" />
     
    3. Make sure aspnet account or network service account has write permission to the above folder.
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML