Monday, February 13, 2006

Requested Registry Access is not allowed

SOLUTION IS AS FOLLOW (THIS SOLUTION IS FOR DEVELOPMENT ENVIRONMENT ONLY):

1. Give the ASPNET user permission to read the Security eventlog registry entry.Run regedt32 Navigate 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

2. Change settings in machine.config fileRun ExplorerNavigate to WINDOWS or WINNT folderOpen Microsoft.NET folderOpen Framework folderOpen v1.1.4322 folder (folder name may be different, depending on what dotnet version is installed)Open CONFIG folderOpen machine.config file using notepad (make a backup of this file first)Locate processmodel tag (approx. at line 441)Locate userName="machine" (approx. at line 452)Change it to userName="SYSTEM"Save and close the fileClose Explorer

3. Restart IIS Run IISReset



Production Solution

Go to the application pool and select IDENTITY leave it Network Service

Go to the registry it is accessing and select the permission
Add the NETWORK SERVICE user to it

THAT’S IT!

4 comments:

Anonymous said...

I will not concur on it. I think nice post. Expressly the appellation attracted me to study the sound story.

Anonymous said...

Genial fill someone in on and this fill someone in on helped me alot in my college assignement. Thank you for your information.

Anonymous said...

Nice post and this mail helped me alot in my college assignement. Thank you on your information.

Anonymous said...

Hello all


A balance must be achieved between the desire for innovative design and the realities of traditional operating and maintenance practices. Durability, ease of maintenance and material innovation are all incorporated into Mansour Engineering approach.

[url=http://www.mansour.ca] click here to go to Mansour Engineering[/url]


http://www.mansour.ca