RE: Unexpected PolicyException thrown on System config file

From: Patrick C. Cole (patcole@NOSPAMmicrosoft.com)
Date: 07/05/02


From: patcole@NOSPAMmicrosoft.com (Patrick C. Cole (MS))
Date: Fri, 05 Jul 2002 13:13:19 GMT


Andrew,

Go to %userprofile%\Application Data\Microsoft\CLR Security
Config\vX.X.XXXX and see if any files exist. If so, are they read only? Are
there interesting ACLs there? Does this path even exist?

Patrick Cole
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2002 Microsoft Corporation. All rights
reserved.

--------------------
| Content-Class: urn:content-classes:message
| From: "Andrew Ressler" <andrew@microoutsource.com>
| Sender: "Andrew Ressler" <andrew@microoutsource.com>
| Subject: Unexpected PolicyException thrown on System config file
| Date: Wed, 3 Jul 2002 08:18:53 -0700
| Lines: 27
| Message-ID: <12e6e01c222a4$f0f73930$a4e62ecf@tkmsftngxa06>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcIipPD3Nsz0xjeFS2WSacoFp8LD2w==
| Newsgroups: microsoft.public.dotnet.framework.aspnet.security
| NNTP-Posting-Host: TKMSFTNGXA06 10.201.232.165
| Path: cpmsftngxa07!tkmsftngxs02!cpmsftngxa10!cpmsftngxa08
| Xref: cpmsftngxa07 microsoft.public.dotnet.framework.aspnet.security:1408
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
|
| While running an ASP.NET application in Visual Studio, I
| frequently get the following error:
|
| System.Security.Policy.PolicyException occurred in
| mscorlib.dll
| Additional information:
| Policy level User cannot be saved.
|
| Security.Policy.PolicyLevel.GenerateConfigFile
|
| Of course, it screws up everything and loses my session.
|
| So what file is it trying to save? Where is it trying to
| save it? Why doesn't this just work. It certainly isn't
| any of my code doing this. What security settings need
| to be changed.
|
| I have a straight-forward install of Visual Studio.NET on
| Windows XP.
|
| BTW, I consider this a bug in .NET. It shouldn't require
| me to have to make changes unless it it is well
| documented and I can find no documentation that helps me
| here. I have already search MSDN quite a bit on this one.
|
| Thanks,
|
|



Relevant Pages

  • Re: Hacked via Microsoft Servers!
    ... There is no way to script the policy settings in local of group ... Security Templates, ... Microsoft MVP ... > documentation that was not accurate from elsewhere I attempted to find ...
    (microsoft.public.windows.group_policy)
  • Hacked via Microsoft Servers!
    ... I wrote this because I hope that the corporate officers of Microsoft ... applications regarding the securing of Windows XP Pro and Windows ... Illinois regarding group and security policy administration. ... documentation that was not accurate from elsewhere I attempted to find ...
    (microsoft.public.windows.group_policy)
  • RE: Access Security
    ... " User 1 can edits values in Column B and User 2 can edit values in Column ... Then look at the article ACC2000: How to Simulate Column-Level Security in ... Microsoft Access Support ... | Content-Class: urn:content-classes:message ...
    (microsoft.public.access.security)
  • Re: help on security
    ... Microsoft has centralized all of their security offerings at ... >Can any one help me find documentation on Windows security ...
    (microsoft.public.dotnet.security)
  • [NT] Cumulative Security Update for Internet Explorer (MS04-025)
    ... Get your security news from a reliable source. ... * Microsoft Windows NT Workstation 4.0 Service Pack 6a ... Navigation Method Cross-Domain Vulnerability ...
    (Securiteam)