-
ASPNET_SETREG.exe problem
I am trying to use ASPNET_SETREG.exe to encrypt my username and password and
store them in the registry. I am running Windows 2003 Server RC2. I downloaded
ASPNET_SETREG.exe from Microsoft’s website.
I first ran the utility to encrypt my username and password:
c:\Tools>aspnet_setreg.exe -k:SOFTWARE\MY_SECURE_APP\identity -u:"MyPC\MyUser"
-p:"password"
I also included the identity information in my web.config file:
<identity impersonate="true"
userName="registry:HKLM\SOFTWARE\MY_SECURE_APP\identity\ASPNET_SETREG,userName"
password="registry:HKLM\SOFTWARE\MY_SECURE_APP\identity\ASPNET_SETREG,password"
/>
When I try to run the web application, I get the following error:
Error reading the password from the registry.
Thanks,
Angela
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks