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

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
 
C

Cowboy \(Gregory A. Beamer\)

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!
**********************************************************************
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top