469,924 Members | 1,420 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,924 developers. It's quick & easy.

ASPNET_SETREG - Error reading the password from the registry

I'm trying to use aspnet_setreg to encrypt user names & password used in the
web.config file for use in the indentity element. When the website runs I get
the message 'Error reading the password from the registry'.

I'm using Windows XP SP2, Framework 1.1 . The code in the web.config file is :

<identity impersonate="true"
password="registry:HKLM\SOFTWARE\MyCompany\MyApp\W ebsite\Identity\ASPNET_SETREG,password
userName="registry:HKLM\SOFTWARE\MyCompany\MyApp\W ebsite\Identity\ASPNET_SETREG,userName"
/>

I've given the ASPNET account read permissions to the registry keys.

What have I missed ???

Thanks for your help.
Jul 21 '05 #1
1 4827
I am having the same problem and have not found a solution. Is there any one out there who knows how to resolve this error?
I'm trying to use aspnet_setreg to encrypt user names & password used in the
web.config file for use in the indentity element. When the website runs I get
the message 'Error reading the password from the registry'.

I'm using Windows XP SP2, Framework 1.1 . The code in the web.config file is :

<identity impersonate="true"
password="registry:HKLM\SOFTWARE\MyCompany\MyApp\W ebsite\Identity\ASPNET_SETREG,password"
userName="registry:HKLM\SOFTWARE\MyCompany\MyApp\W ebsite\Identity\ASPNET_SETREG,userName"
/>

I've given the ASPNET account read permissions to the registry keys.

What have I missed ???

Thanks for your help.


User submitted from AEWNET (http://www.aewnet.com/)
Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Andy | last post: by
1 post views Thread by Kevin Burton | last post: by
1 post views Thread by Kevin Burton | last post: by
reply views Thread by microsoft.public.dotnet.framework.aspnet.webcontro | last post: by
1 post views Thread by Mark Rae | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.