Re: all .NET apps cause System.Security.Policy.PolicyException

From: Teemu Keiski (joteke_at_aspalliance.com)
Date: 12/17/03


Date: Wed, 17 Dec 2003 21:40:44 +0200

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


Relevant Pages

  • Re: Help!!! System.Security.Policy.PolicyException
    ... > I was testing some configuration options with Framework ... > in .NET security. ... I get this error running caspol.exe, ...
    (microsoft.public.dotnet.security)
  • all .NET apps cause System.Security.Policy.PolicyException
    ... I was testing some configuration options with Framework ... in .NET security. ... I get this error running caspol.exe, ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Help!!! System.Security.Policy.PolicyException
    ... I was testing some configuration options with Framework ... in .NET security. ... I get this error running caspol.exe, ...
    (microsoft.public.dotnet.security)
  • Re: ConfigParser shootout, preliminary entry
    ... David> relation between mapping and attributes. ... David> configuration some sort of dictionary or array. ... David> simple INI files. ... David> the modern age as an XML database. ...
    (comp.lang.python)
  • Re: 3.5 Deployment Question
    ... Thanks David ... ... We had several standing applications targeting .NET 2.0--they didn't change ... You are correct--3.0/3.5 are simply additions to the framework... ... the ASP.NET site also contains the web service applications ...
    (microsoft.public.dotnet.framework.aspnet)