Impersonate Issue Aspnet_setreg.exe IN FRAMEWORK 1.03705

G

Guest

I have found a way to impersonate a user by doing this in the web.config

<identity impersonate="true" userName="myDoamin\Mikej" password="password" /

But now I want to encrypt THE USERNAME AND PASSWORD.
So I found this article, http://support.microsoft.com/default.aspx?scid=kb;en-us;329290. Which describes it very nicely

Now my identity tag looks like this
<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"
/

But when I follow the steps I get this error
Could not create Windows user token from the credentials specified in the config file. Error from the operating system 'Logon failure: unknown user name or bad password.


DOES ANYONE KNOW IF THIS TOOL 'Aspnet_setreg.exe' CAN WORK WITH FRAMEWORK 1.0

If so, can anyone assist

THANK

MIK
 

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

Top