RE: EventLogPermission via caspol.exe
From: Aleksandr Sliborsky (AleksandrSliborsky_at_discussions.microsoft.com)
Date: 04/27/05
- Next message: Juan T. Llibre: "Re: Deny access to a directory with web.config"
- Previous message: Matt: "Security based on session, what's wrong?"
- In reply to: Mark A. Richman: "EventLogPermission via caspol.exe"
- Next in thread: Nicole Calinoiu: "Re: EventLogPermission via caspol.exe"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 27 Apr 2005 03:02:07 -0700
"Mark A. Richman" wrote:
> I am getting an EventLogPermission exception when calling my assembly from an ASP.NET 2.0 app. I tried setting the assembly to FullTrust via caspol.exe, but I still get this exception. Any ideas? I am loading the web app and assemblies over UNC.
> --
> MARK RICHMAN
Do you use Code Access Security?
May be in some place of Your code You use it declarative.
And You declared that only som signed assemblies can acces Your assembly.
Oh may be You have to use impersonatino because ASP.NET host application
has;t any gihts to access to event log...
Aleksandr Sliborsky
- Next message: Juan T. Llibre: "Re: Deny access to a directory with web.config"
- Previous message: Matt: "Security based on session, what's wrong?"
- In reply to: Mark A. Richman: "EventLogPermission via caspol.exe"
- Next in thread: Nicole Calinoiu: "Re: EventLogPermission via caspol.exe"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]