Impersonate Issue Aspnet_setreg.exe IN FRAMEWORK 1.03705

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
Back
Top