RE: Unexpected PolicyException thrown on System config file
From: Patrick C. Cole (patcole@NOSPAMmicrosoft.com)
Date: 07/05/02
- Next message: asger: "Authentication Problem - Help"
- Previous message: Pv Ledoux: "System.UnauthorizedAccessException: Access is denied"
- In reply to: Andrew Ressler: "Unexpected PolicyException thrown on System config file"
- Next in thread: Andrew Ressler: "RE: Unexpected PolicyException thrown on System config file"
- Reply: Andrew Ressler: "RE: Unexpected PolicyException thrown on System config file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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,
|
|
- Next message: asger: "Authentication Problem - Help"
- Previous message: Pv Ledoux: "System.UnauthorizedAccessException: Access is denied"
- In reply to: Andrew Ressler: "Unexpected PolicyException thrown on System config file"
- Next in thread: Andrew Ressler: "RE: Unexpected PolicyException thrown on System config file"
- Reply: Andrew Ressler: "RE: Unexpected PolicyException thrown on System config file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|