Ask a Question related to ASP.NET Security, Design and Development.
-
David #1
all .NET apps cause System.Security.Policy.PolicyException
I was testing some configuration options with Framework
Configuration tool and eventually something went wrong
in .NET security.
Now cannot do anything in .NET with out
having "System.Security.Policy.PolicyException: Execution
permission cannot be acquired." error and CLR debugger
popup. I get this error running caspol.exe, ANY .NET
application, even when I try to open Configuration snap-
in. I have tried to reinstall the framework and it didn't
help. Virtually nothing works on my machine!!!! I have
VS.NET 2003 WinXP professional and Iam administrator.
Please help Im despaerate!!!
Thanks David
David Guest
-
Problems finding WSE policy with Web Apps
I'm having the same (or a similar) issue, have you come to a resolution yet? *** Sent via Developersdex http://www.developersdex.com *** Don't... -
Security Policy
What is the best way for me to achieve the following 1. Disable CD-ROM, Floppy & USB on client computers 2. Stop users from copying files from... -
security policy for many users
I am developing for an Intranet with about 100 users (we do computer training). We're running about 12 different ASP.NET applications. 4 of these... -
Local security policy
I have two local XP Pro machines that I need to restrict the user rights on. I have found the settings I want to apply in the local groups policy.... -
Error Security Policy.
just a guess...but try: web_lowtrust.config web_notrust.config web_hightrust.config that may be what the error is referring to, as far as... -
Teemu Keiski #2
Re: all .NET apps cause System.Security.Policy.PolicyException
What did you change?
Running "caspol -reset" at command prompt should reset the settings.
--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist
"David" <david@ramdor.co.il> wrote in message
news:0a8e01c3c3df$b510b440$a401280a@phx.gbl...> I was testing some configuration options with Framework
> Configuration tool and eventually something went wrong
> in .NET security.
> Now cannot do anything in .NET with out
> having "System.Security.Policy.PolicyException: Execution
> permission cannot be acquired." error and CLR debugger
> popup. I get this error running caspol.exe, ANY .NET
> application, even when I try to open Configuration snap-
> in. I have tried to reinstall the framework and it didn't
> help. Virtually nothing works on my machine!!!! I have
> VS.NET 2003 WinXP professional and Iam administrator.
> Please help Im despaerate!!!
> Thanks David
Teemu Keiski Guest
-
Teemu Keiski #3
Re: all .NET apps cause System.Security.Policy.PolicyException
And of course noting your original info that running caspol throws the
exception as well, does it throw it when you try "caspol -reset"? If this
doesn't help (check also support.microsoft.com for potential support
articles), uninstall the Framework first and then reinstall it and see if
that helps.
--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist
"Teemu Keiski" <joteke@aspalliance.com> wrote in message
news:%231RAeWNxDHA.1576@TK2MSFTNGP11.phx.gbl...> What did you change?
>
> Running "caspol -reset" at command prompt should reset the settings.
>
> --
> Teemu Keiski
> MCP, Microsoft MVP (ASP.NET), AspInsiders member
> ASP.NET Forum Moderator, AspAlliance Columnist
>
>
> "David" <david@ramdor.co.il> wrote in message
> news:0a8e01c3c3df$b510b440$a401280a@phx.gbl...>> > I was testing some configuration options with Framework
> > Configuration tool and eventually something went wrong
> > in .NET security.
> > Now cannot do anything in .NET with out
> > having "System.Security.Policy.PolicyException: Execution
> > permission cannot be acquired." error and CLR debugger
> > popup. I get this error running caspol.exe, ANY .NET
> > application, even when I try to open Configuration snap-
> > in. I have tried to reinstall the framework and it didn't
> > help. Virtually nothing works on my machine!!!! I have
> > VS.NET 2003 WinXP professional and Iam administrator.
> > Please help Im despaerate!!!
> > Thanks David
>
Teemu Keiski Guest



Reply With Quote

