Last post Sep 16, 2008 02:33 PM by Jonathan58
Sep 11, 2008 03:35 PM|Jonathan58|LINK
Tried this post on 'Web Forms" forum - did not get any responses...
I recently installed my apps on a new development workstation and later realized that it doesn't have IIS installed. I installed IIS, then ran aspnet_regiis.exe to restore mappings. My apps appear to be working under IIS now except for one problem: it is
denied access to registry (I have impersonated user credentials encrypted in registry). The error that I get is "Error reading configuration information from the registry". If I switch my app to run under Visual Studio Development Server instead of IIS, I
get those registry settings accessed and decrypted without any problem. I checked all permissions for corresponding registry keys and I think I gave access to right users including Network Services.
Any help with this will be appreciated
Sep 16, 2008 11:21 AM|Wencui Qian - MSFT|LINK
Thanks for posting.
From the error message, it's caused by the lack permissions of reading the regirstry. Although you said you had granted the permissions to the Network Service(Windows 2003) or ASPNET(Windows XP) account, I don't know how you did that. Basically, we can Use
Regedt32.exe to grant permissions for the Network Service/ASP.NET account on these registry keys. Please take a look at this link:
If the problem still can't be resolved, please post the error message and relevant code here.
Sep 16, 2008 02:33 PM|Jonathan58|LINK
Thank you JanIvan.
You are right. I granted Network Services rights to these registry keys on the servers (windows 2003), but did not grant ASPNET machine account rights on my new development workstation.