all .NET apps cause 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
 
T

Teemu Keiski

What did you change?

Running "caspol -reset" at command prompt should reset the settings.
 
T

Teemu Keiski

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.
 

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

Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top