|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Which account neets permission to read the Registry key.I am using aspnet_setreg.exe to encrypt the username and password and store them in Web.Config file for impersonation. I have given ASPNET and Impersonation account to read the registry key. However, while running the application it fails saying that can't read the password for Registrty. If I give read permission to "Everyone" it works fine. Can anyone please tell me which account ASP.NET application uses to read the registry key or how do find out which account it is trying to use. I dont want to give read permission to "everyone". Thanks in advance Sachin There is no "impersonate" account. If you have impersonation turned on,
then the account trying to access the registry is the account of the person accessing the website. Show quoteHide quote "Sachin" <annonym***@microsoft.com> wrote in message news:eqo7tPczFHA.664@tk2msftngp13.phx.gbl... > Hi All, > > I am using aspnet_setreg.exe to encrypt the username and password and > store > them in Web.Config file for impersonation. > > I have given ASPNET and Impersonation account to read the registry key. > > However, while running the application it fails saying that can't read the > password for Registrty. > > If I give read permission to "Everyone" it works fine. > > Can anyone please tell me which account ASP.NET application uses to read > the > registry key or how do find out which account it is trying to use. > > I dont want to give read permission to "everyone". > > Thanks in advance > Sachin > > Which OS are you running? Giving permissions for ASPNET works only for Win
XP Pro. If you are using Win 2003, give the same permissions for 'serverName\Network Service' "Sachin" <annonym***@microsoft.com> wrote in message I am using aspnet_setreg.exe to encrypt the username and password and storenews:eqo7tPczFHA.664@tk2msftngp13.phx.gbl... Hi All, them in Web.Config file for impersonation. I have given ASPNET and Impersonation account to read the registry key. However, while running the application it fails saying that can't read the password for Registrty. If I give read permission to "Everyone" it works fine. Can anyone please tell me which account ASP.NET application uses to read the registry key or how do find out which account it is trying to use. I dont want to give read permission to "everyone". Thanks in advance Sachin
Other interesting topics
Master Pages, seems like it causes more problems than it fixes?
javascript call ViewState got confused between two user controls in same parent ct XML NullReferenceException for System.Data.SQLClient is there an error here ? getvalue from user control Menues with v1.1? Placeholder and event not fired the first time. IIS debug limitation? |
|||||||||||||||||||||||