I have an app that is using the impersonation with encrypted key in the registery. I have followed the steps in the article: How to use the ASP.NET utility to encrypt credentials and session state connection strings...
http://support.microsoft.com/kb/329290. However, when the app runs I get the error: Error reading configuration information from the registry. I have read several forums, where it says that the issue
is related to security, so I even (for testing) set the security for the password and user name to "everyone" and full control. I still got the same error... At this time it seems to me that ithe error is misleading. Has anyone had this problem and
if so how did you get around it...
Thank you for taking the time to check into this issue.... I had seen those posting before and in my case the I have already set the security to read to the NETWORK SERVICE and ASP.NET.... For testing I set the key security to everyone with full control
and still got the same error.... I have also looked and the keys were created in the right spot, which was : HKEY_LOCAL_MACHINE/SOFTWARE/WOW6432NODE/MY_SECURE_APP/IDENTITY/ASPNET_SETREG/password (or UserName) and as I said before currently both keys have
the security "everyone" and full access...
According to error message above, this issue is caused by access rights, I’d like to suggest you to re-do this project, and follow the steps strictly in the link mentioned above, it will be helpful to give a troubleshooting,
At the same time many tips are also available for you to help do that below, and it also give you guide to troubleshoot the error that "Error reading configuration information from the registry"
# How to use the ASP.NET utility to encrypt credentials and session state connection strings
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
None
0 Points
2 Posts
Impersonation + Error reading configuration information from the registry
Jul 17, 2013 12:34 PM|MCSDUDE|LINK
I have an app that is using the impersonation with encrypted key in the registery. I have followed the steps in the article: How to use the ASP.NET utility to encrypt credentials and session state connection strings... http://support.microsoft.com/kb/329290. However, when the app runs I get the error: Error reading configuration information from the registry. I have read several forums, where it says that the issue is related to security, so I even (for testing) set the security for the password and user name to "everyone" and full control. I still got the same error... At this time it seems to me that ithe error is misleading. Has anyone had this problem and if so how did you get around it...
Thanks in advance...
Participant
1930 Points
793 Posts
Re: Impersonation + Error reading configuration information from the registry
Jul 18, 2013 01:16 AM|dotnetnerd|LINK
Hi MCSDUDE,
This is other people that has same issue with you:
- http://www.pcreview.co.uk/forums/windows-server-2008-error-reading-configuration-information-fromthe-registry-t3917215.html
- http://forums.asp.net/t/1123564.aspx/1
Windows ASP.NET Hosting | Reseller Hosting | Cloud Hosting
None
0 Points
2 Posts
Re: Impersonation + Error reading configuration information from the registry
Jul 18, 2013 12:24 PM|MCSDUDE|LINK
Hi dotnetnerd...
Thank you for taking the time to check into this issue.... I had seen those posting before and in my case the I have already set the security to read to the NETWORK SERVICE and ASP.NET.... For testing I set the key security to everyone with full control and still got the same error.... I have also looked and the keys were created in the right spot, which was : HKEY_LOCAL_MACHINE/SOFTWARE/WOW6432NODE/MY_SECURE_APP/IDENTITY/ASPNET_SETREG/password (or UserName) and as I said before currently both keys have the security "everyone" and full access...
The WEBCONFIG reads:
<identity impersonate="true" userName="registry:HKLM\SOFTWARE\WOW6432NODE\MY_SECURE_APP\identity\ASPNET_SETREG,userName"
password="registry:HKLM\SOFTWARE\WOW6432NODE\MY_SECURE_APP\identity\ASPNET_SETREG,password" />
As you can see, I have done all the steps outlined in the posts and the article and I still get the error....
Any ideas?????
Thank you for any help you can give me....
All-Star
32817 Points
3815 Posts
Re: Impersonation + Error reading configuration information from the registry
Jul 23, 2013 11:09 PM|Angie xu - MSFT|LINK
Hi MCSDUDE
According to error message above, this issue is caused by access rights, I’d like to suggest you to re-do this project, and follow the steps strictly in the link mentioned above, it will be helpful to give a troubleshooting,
At the same time many tips are also available for you to help do that below, and it also give you guide to troubleshoot the error that "Error reading configuration information from the registry"
# How to use the ASP.NET utility to encrypt credentials and session state connection strings
http://smart-programming.blogspot.in/2008/01/how-to-use-aspnet-utility-to-encrypt.html
# Error reading configuration information from the registry
http://smart-programming.blogspot.in/2008/01/error-reading-configuration-information.html
hope it helps you,
Regards
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.