logo       

Re: Eventlog/registry issue with .NET app: msg#00111

windows.devel.dotnet.web

Subject: Re: Eventlog/registry issue with .NET app

Hi,

Not an answer but a pointer to start looking; Looking at the error you get
reported, it seems that the service running is trying to read a registry key
(might be the eventlog info it needs to write to the correct eventlog).
Depending on the location it's trying to read from, the account accessing
the registry needs permissions to do this.

Some registry pieces are 'admin' level.

Hope this helps,

Marvin Smit


-----Original Message-----
From: Discussion of building .NET applications targeted for the Web
[mailto:DOTNET-WEB@xxxxxxxxxxxxxxxxxxx] On Behalf Of Jennifer Quinn
Sent: Tuesday, January 25, 2005 22:04
To: DOTNET-WEB@xxxxxxxxxxxxxxxxxxx
Subject: [DOTNET-WEB] Eventlog/registry issue with .NET app

I have a .NET app that works on my machine, my partners machine, and our
development server.

...BUT... on our live server, it will not write to the eventlog, as is
does on all these other machines. Thanks to help I got on this site, I
do have errors going to the database, but this message I get says that
the "Requested registry access is not allowed"

I've tried the solutions suggested on the web, like creating a key for
the registry, and I looked at the machine.config file to change the user
to "SYSTEM" - tried giving write permissions to aspnet.net user for the
eventlog key. Still doesn't work. Why - oh why on this one machine,
which is set up like all the others? Any ideas for fixing it?

Thanks very much in advance if you can help.

===================================
This list is hosted by DevelopMentor(r) http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentor® http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise