Security Error

From: JJ (jmraz@bellatlantic.net)
Date: 02/10/03


From: "JJ" <jmraz@bellatlantic.net>
Date: Sun, 9 Feb 2003 22:44:33 -0500


Hi All,

    I am getting the following security error trying test out the Nile
Sample App on my machine.

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: Requested registry
access is not allowed.

How should I change the app's trust level in the configuration file.

I am assuming they are refering to the web.config file. So what do you think
my problem is?

Thanks,
JJ



Relevant Pages

  • Security Error
    ... Security Exception ... To grant this application the required permission ... How should I change the app's trust level in the configuration file. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Security exception permission denied
    ... SECURITY EXCEPTION ... The application attempted to perform an operation not allowed by the security policy. ... To grant this application the required permission please cpmtact your system administrator or change the application“s trust level in the configuration file... ... What is the configuration file?? ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: .NET 2.0 Trust issue on Hosted Server
    ... I would set the trust level to medium on my local copy too and try to ... Dominick Baier - DevelopMentor ... configuration file required to service this request. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: .NET 2.0 Trust issue on Hosted Server
    ... seems you have locked it down somehow - try to set the trust level in web.config in the framework directory. ... configuration file required to service this request. ... There's nothing on my pages that is a big security issue. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • System.Security.SecurityException: Security error
    ... I created a web part that basically accesses an attribute from Active ... security policy. ... trust level in the configuration file. ... I have my trust level set at WSS_Medium. ...
    (microsoft.public.sharepoint.portalserver)