G
Guest
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\Website\Identity\ASPNET_SETREG,password
userName="registry:HKLM\SOFTWARE\MyCompany\MyApp\Website\Identity\ASPNET_SETREG,userName"
/>
I've given the ASPNET account read permissions to the registry keys.
What have I missed ???
Thanks for your help.
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\Website\Identity\ASPNET_SETREG,password
userName="registry:HKLM\SOFTWARE\MyCompany\MyApp\Website\Identity\ASPNET_SETREG,userName"
/>
I've given the ASPNET account read permissions to the registry keys.
What have I missed ???
Thanks for your help.