GAC and security

Last post 10-05-2005, 4:07 PM by khblenk. 2 replies.
Sort Posts: Previous Next
  •  10-05-2005, 12:35 PM 11426

    GAC and security

    Hello,
     
    when I add the CuteEditor.dll to the GAC I get a security exception. We use an IP license.
     
    What are the steps to add the DLL to the GAC, add the IP license and run the applications (trust level medium).
     
    Kind regards
    Karl-Heinz
  •  10-05-2005, 2:57 PM 11434 in reply to 11426

    Re: GAC and security

    Karl,

    Adding CuteEditor to the Global Assembly Cache 
     
    http://cutesoft.net/developer+guide/Gloabl Assembly.htm
     
    I"ll investigate the trust level medium issue and will get back to you as soon as possible.
     
     

    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

  •  10-05-2005, 4:07 PM 11440 in reply to 11434

    Re: GAC and security

    Dear Adam,
     
    thank a lot. I've followed the instructions, but I still got the security error on the medium trust level. Here are more details, perhaps they are helpful for you.
     
    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: Request for the permission of type System.Security.Permissions.FileIOPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.

    Source Error:

    Line 24: 						This example show you <b>all the predefined buttons</b>. 
    Line 25: 						<br><br>
    Line 26: 						<CE:Editor id="Editor1" EditorWysiwygModeCss="../example.css" runat="server" ></CE:Editor><br />
    Line 27: 						<asp:Button id="btnUpdate" onclick="Submit" Runat="server" Text="Show HTML"></asp:Button>
    Line 28: 						<asp:Literal ID="Literal1" Runat="server" />

View as RSS news feed in XML