all .NEt applications cause to "System.Security.Policy.PolicyException

  • Thread starter Thread starter David
  • Start date Start date
D

David

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
 
If you can run the .NET Configuration utility, try clicking "Runtime
Security Policy" and "Reset all policy levels" to start with. This is hte
first place to look at. Beyond this, you may end up having to muck with the
..config files. Location:

C:\WINNT\Microsoft.NET\Framework\v1.1.4322\CONFIG

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

**********************************************************************
Think Outside the Box!
**********************************************************************
 
Thanks for reply
Unfortunately, I can't run the .NET Configuration utility
or any other .NET tool (like csapol.exe). About config
files: is there any conceivable way to fix them?
It seems that I have format machine and reinstall
everything, very,very bad solution.
Apparently, this problem has to be a concern of Microsoft
people
David
 
Back
Top