H
Henry
Hi, my asp.net application is accessing a mssql on another server.
This works fine when I use this in my web.config file:
<add key="dbkey" value="server=192.12.12.1;database=mydb;user=dbuser;password=mypassword"
/>
However I don't like to store my password in plain text.
I played around with aspnet_setreg.exe and I followed those
instructions:
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q329290
However my application says ' Could not create Windows user token from
the credentials specified in the config file'
when I use it in the recommended way:
<identity impersonate="true"
userName="registry:HKLM\SOFTWARE\MYDB\identity\ASPNET_SETREG,userName"
password="registry:HKLM\SOFTWARE\MYDB\identity\ASPNET_SETREG,password"
/>
I don't really need the asp.net worker process to run impersonate. All
I need is to store and transmit the password encrypted.
Does anyone have a suggestion?
Thanks
This works fine when I use this in my web.config file:
<add key="dbkey" value="server=192.12.12.1;database=mydb;user=dbuser;password=mypassword"
/>
However I don't like to store my password in plain text.
I played around with aspnet_setreg.exe and I followed those
instructions:
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q329290
However my application says ' Could not create Windows user token from
the credentials specified in the config file'
when I use it in the recommended way:
<identity impersonate="true"
userName="registry:HKLM\SOFTWARE\MYDB\identity\ASPNET_SETREG,userName"
password="registry:HKLM\SOFTWARE\MYDB\identity\ASPNET_SETREG,password"
/>
I don't really need the asp.net worker process to run impersonate. All
I need is to store and transmit the password encrypted.
Does anyone have a suggestion?
Thanks