IZWebFileManager

Advanced ASP.NET File Manager
Welcome to IZWebFileManager Sign in | Join | Help
The forum is moved to http://groups.google.com/group/izwebfilemanager
If you have any question, please post there. Thanks!

Security Exception

  •  10-13-2006, 1:01 PM

    Security Exception

     If I try to use IZWebFileManager on an ASP.NET page , I get the following error:

    Server Error in '/' Application.

    Security Exception

    Description: The application attempted to perform an operation not allowed by the security policy.  To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

    Exception Details: System.Security.SecurityException: That assembly does not allow partially trusted callers.

    Source Error:

    Line 12:     <form id="Form1" runat="server">
    Line 13:     <div>
    Line 14:      <iz:FileManager ID="FileManager1"  runat="server" Height="350px" Width="500">
    Line 15:      <RootDirectories>
    Line 16:         <iz:RootDirectory DirectoryPath="~/FileDownload" />

    Source File: C:\Domains\arshad-edu.ir\wwwroot\FileManager.aspx    Line: 14

    Stack Trace:

    [SecurityException: That assembly does not allow partially trusted callers.]
       ASP.filemanager_aspx.__BuildControlFileManager1() in C:\Domains\arshad-edu.ir\wwwroot\FileManager.aspx:14
       ASP.filemanager_aspx.__BuildControlForm1() in C:\Domains\arshad-edu.ir\wwwroot\FileManager.aspx:12
       ASP.filemanager_aspx.__BuildControlTree(filemanager_aspx __ctrl) in C:\Domains\arshad-edu.ir\wwwroot\FileManager.aspx:1
       ASP.filemanager_aspx.FrameworkInitialize() +69
       System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +40
       System.Web.UI.Page.ProcessRequest() +86
       System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
       System.Web.UI.Page.ProcessRequest(HttpContext context) +49
       ASP.filemanager_aspx.ProcessRequest(HttpContext context) +29
       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +154
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
    


    Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
View Complete Thread
www.IZWebFileManager.com
izwebfilemanager@gmail.com