Team Individualism (old blog)

Consultant ramblings

Friday, October 07, 2005

Requested registry access is not allowed

I came across this old chessnut today.

Requested registry access is not allowed.

It tends to happen when you create an eventlog source (EventLog.WriteEntry) and when you try to write to the new event log. This occurred today thanks to a BizTalk orchestration.

To resolve you need to give the theuser permission to read from the event log registry entries.

Here's how:

Select Start - Run, then enter: regedt32
Navigate/expand to the following key:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Security
Right click on this entry and select Permissions
Add the ASPNET user
Give it Read permission

Thanks to:
http://geekswithblogs.net/timh/archive/2005/10/05/56029.aspx

0 Comments:

Post a Comment

<< Home