How to Encrypt password

R

Robin

In the web.config how do you generate the encrypted string that can be used
to store password of the identity element?
 
S

Srini

I used this utility(aspnet_setreg.exe) to set the username and password elements in the registry in encrypted format. I could able to see the username and password in the registry(using regedit) in encrypted format. When I try to run my webservice it comes back with the following erro

Configuration Erro

Description:
An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately

Parser Error Message: Error reading the password from the registry

and then it lists the web.config file entries


Is there anything I am missing to make it work as expected? Any info id greatly appreciated

Thanks in advance
Srini
 
S

Srini

I got it. Have not set the read permission in the regedt32 for ASPNET user. Thought I had a different user account for ASPNET

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top