I used aspnet_setreg utility (from Microsoft) to encrypt my domain ID and password and store in the registry. In my web.config file, I have following entry: <identity impersonate="true" userName="registry:HKLM\SOFTWARE\MYAPP\identity\ASPNET_SETREG, userName" password="registry:HKLM\SOFTWARE\MYAPP\identity\ASPNET_SETREG, password"/>. In registry, I also grant read permission to ASPNET account. This works fine in Windows 2000 server and IIS5 (native installation), but when I tried in Windows 2003 server (custom image) and IIS6, I got following error: "Error reading the password from the registry."
Any idea? Thanks in advance.
Any idea? Thanks in advance.