Last post Jul 23, 2013 11:09 PM by Angie xu - MSFT
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...
Jul 18, 2013 01:16 AM|dotnetnerd|LINK
This is other people that has same issue with you:
Jul 18, 2013 12:24 PM|MCSDUDE|LINK
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:
As you can see, I have done all the steps outlined in the posts and the article
and I still get the error....
Thank you for any help you can give me....
Jul 23, 2013 11:09 PM|Angie xu - MSFT|LINK
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
# Error reading configuration information from the registry
hope it helps you,