Security Exception

From: Dominick Baier (dotnet_at_leastprivilege.com)
Date: 09/28/04

  • Next message: TechQuery: "RE: .NET Passport Question"
    To: microsoft.public.dotnet.security
    Date: Mon, 27 Sep 2004 15:55:41 -0700
    
    

    I do not know if this applies to share point services, too - but sharepoint portal server add a <trust> element to the root web.config - this puts the whole web site in partial trust mode.

     this would also explain the security exception.

     

     ---
     Dominick Baier - DevelopMentor
     http://www.leastprivilege.com

       nntp://news.microsoft.com/microsoft.public.dotnet.security/<223c01c4a4b5$71fd0660$a501280a@phx.gbl>

     Hi,
     
     After we install windows share point services in 2003 our
     asp.net application getting on error of Security exception.
     
     The error is
     
     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:
     Request for the permission of type
     System.Data.SqlClient.SqlClientPermission, System.Data,
     Version=1.0.5000.0, Culture=neutral,
     PublicKeyToken=b77a5c561934e089 failed.
     
     Help us to resolve this issue.
     
     
     [microsoft.public.dotnet.security]


  • Next message: TechQuery: "RE: .NET Passport Question"

    Relevant Pages

    • Re: Question about strong-name dlls
      ... Security Exception ... please contact your system administrator or change the application's trust ... but when I try to select the dll in the server with Trust ... >>> Sometimes the elephant eats you. ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: Question about strong-name dlls
      ... > Security Exception ... To grant this application the required permission ... > please contact your system administrator or change the application's trust ... >>> Diego F. ...
      (microsoft.public.dotnet.framework.aspnet)
    • Security Exception - What To Change
      ... Security Exception ... please contact your system administrator or change the application's trust ... level in the configuration file. ...
      (microsoft.public.dotnet.general)
    • Re: OT..though when am I ever?
      ... he'd kissed her on the lips...and her cheek. ... Trust me, I know! ... IQ = big time stress. ... Could be lots of root causes e.g. allergies, ...
      (uk.rec.humour)
    • Re: ADFS and SSL Certificates
      ... CA cert which chains up to the valicert public root. ... ADFS to verify our trust chain. ...
      (microsoft.public.windows.server.active_directory)