Re: security exception for aspx page
From: GoCMS (GoCMS_at_discussions.microsoft.com)
Date: 11/16/04
- Next message: richlm: "Re: protection ageinst pirates"
- Previous message: Nicole Calinoiu: "Re: webservice problem system.net.webexception"
- In reply to: Nicole Calinoiu: "Re: security exception for aspx page"
- Next in thread: Joe Kaplan \(MVP - ADSI\): "Re: security exception for aspx page"
- Reply: Joe Kaplan \(MVP - ADSI\): "Re: security exception for aspx page"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 16 Nov 2004 11:19:02 -0800
The message is not detailed enough though, as follows:
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:Security Error
"Nicole Calinoiu" wrote:
> What is the exception message or, even better, its full details (as returned
> by its ToString method)?
>
>
> "GoCMS" <GoCMS@discussions.microsoft.com> wrote in message
> news:3DBB444B-3A4A-419D-A61A-8E281CBE1CA3@microsoft.com...
> > hi, there:
> > I was developing a new page for a web part project. My page keeps on
> > getting security exception whereas other pages in the same project don't.
> > I
> > set the security level to be WSS_MediumTrust level. I wasn't using any
> > database connection, but I was using a third party DLL( which is already
> > signed and put into GAC).
> >
> > I add the third party assembly into the project web.config.
> > I also add the following section into WSS_MediumTrust.config file.
> > <CodeGroup class="UnionCodeGroup" version="1"
> > PermissionSetName="FullTrust">
> > <IMembershipCondition class="StrongNameMembershipCondition"
> > version="1" PublicKeyBlob="public key for 3rd party assembly"/>
> > </CodeGroup>
> >
> > Any other ideas? Thanks a LOT!
> >
> >
> >
>
>
>
- Next message: richlm: "Re: protection ageinst pirates"
- Previous message: Nicole Calinoiu: "Re: webservice problem system.net.webexception"
- In reply to: Nicole Calinoiu: "Re: security exception for aspx page"
- Next in thread: Joe Kaplan \(MVP - ADSI\): "Re: security exception for aspx page"
- Reply: Joe Kaplan \(MVP - ADSI\): "Re: security exception for aspx page"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|