Re: Win2k3 IIS error "Requested registry access is not allowed"
From: Kristofer Gafvert (kgafvert_at_NEWSilopia.com)
Date: 11/11/04
- Previous message: Kristofer Gafvert: "Re: IIS programmatic administration question"
- In reply to: bugzy: "Win2k3 IIS error "Requested registry access is not allowed""
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 11 Nov 2004 08:41:05 +0100
Hello,
Have you seen this KB Article:
"PRB: "Requested Registry Access Is Not Allowed" Error Message When ASP.NET
Application Tries to Write New EventSource in the EventLog"
http://support.microsoft.com/default.aspx?scid=kb;en-us;329291
Maybe that solves your problem?
-- Regards, Kristofer Gafvert http://www.ilopia.com "bugzy" <bugzy619@hotmail.com> wrote in message news:etOIFx2xEHA.3224@TK2MSFTNGP14.phx.gbl... > I am getting the following error. "Requested registry access is not allowed" > ??? > > I am running Windows 2003 server, IIS 6 and asp.net web app. > > The app i am trying to load on this server runs on a Windows 2000 server > with IIS 5, properly. I am trying to see if the app functions on a Windows > 2003 server. > > I can get to my first page (default.aspx) ... but after we pass info for > login, it goes to an Server Error. > > I have been trying to mess with regedt32 permissions, but cant seem to get > it right. Someone suggested eventlog permissions, but i cant seem to get > that working either. I guess, i just dont know exactly what needs to be set. > > Any help would be appreciated. > > > > Server Error in '/' Application. > -------------------------------------------------------------------------- ------ > > Security Exception > Description: The application attempted to perform an operation not allowed > by the security policy. To grant this application the required permission > please contact your system administrator or change the application's trust > level in the configuration file. > > Exception Details: System.Security.SecurityException: Requested registry > access is not allowed. > > Source Error: > > An unhandled exception was generated during the execution of the > current web request. Information regarding the origin and location of the > exception can be identified using the exception stack trace below. > > Stack Trace: > > [SecurityException: Requested registry access is not allowed.] > Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable) > +473 > System.Diagnostics.EventLog.CreateEventSource(String source, String > logName, String machineName, Boolean useMutex) +445 > System.Diagnostics.EventLog.CreateEventSource(String source, String > logName, String machineName) +11 > System.Diagnostics.EventLog.CreateEventSource(String source, String > logName) +11 > DQ.Logging.EventVwrPublisher.PublishInfo(SeverityLevel severityLevel, > NameValueCollection message, String source) +139 > > > > -------------------------------------------------------------------------- ------ > Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET > Version:1.1.4322.2032 > >
- Previous message: Kristofer Gafvert: "Re: IIS programmatic administration question"
- In reply to: bugzy: "Win2k3 IIS error "Requested registry access is not allowed""
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|