473,385 Members | 2,003 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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 4990
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: RichW | last post by:
We are having some problems with invalid characters in passwords when using aspnet_setreg. Aspnet_setreg seems to generate the registry keys successfully, but then the asp.net application using...
1
by: Andy | last post by:
Hi all, I am trying to use aspnet_setreg to encrypt a user name and password to be used in the sessionstate section of my web.config file. I have the various knowledge base articles from...
1
by: Kevin Burton | last post by:
As was suggested I am using aspnet_setreg but I am getting the following error: : Error reading the password from the registry. (c:\inet pub\wwwroot\IVRService\web.config line 46) at...
1
by: Kevin Burton | last post by:
I am using aspnet_setreg but the permissions that it sets the registry to leave the application unable to access the information. I want to add the ASPNET account on the machine that our...
0
by: microsoft.public.dotnet.framework.aspnet.webcontro | last post by:
I have a webservice up and running locally on my dev machine (XP) using impersonate like so: Line 5: <identity impersonate="true" Line 6:...
2
by: jay | last post by:
I am attempting to impersonate an account in ASPNET. I am using aspnet_setreg to store the username and passwords. I have given the ASPNET account permisision to read the registry values. However,...
0
by: tcochunk | last post by:
I have a VS .Net 2003 solution that contains 2 projects. Project 1 is an ASP .Net application. Project 2 is an EXE that is executed from another program (no UI). Both projects interact with...
1
by: Duncan Allen | last post by:
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...
1
by: Mark Rae | last post by:
Hi, I'm working on an ASP.NET intranet site which is still in v1.1 of the Framework. We are using ASPNET_SETREG to impersonate a domain user for various reasons, as follows: <identity...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.