M
Marc Wuergler
Hi !
I'm trying to secure my web application using impersonation within the
web.config file as follows :
<identity impersonate="true"
userName="MyMachine\MyUser"
password="MyPassword" />
This gives me the error : Access to
"C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\webtests\5586467f\285b6247\hash.web" denied ...
If I do the same using a user of the domain, then it works ...
<identity impersonate="true"
userName="MyDomain\DomainUser"
password="MyPassword" />
Any idea about what I'm doing wrong ?
Of course, once this is working, I'm planning to encrypt this using
aspnet_setreg.exe and the following web.config entry :
<identity impersonate="true"
userName="registry:HKLM\SOFTWARE\MyApp\identity\ASPNET_SETREG,userName"
password="registry:HKLM\SOFTWARE\MyApp\identity\ASPNET_SETREG,password" />
Again ... this works with my domain user, but not with the local user
defined on my machine. By the way, my local user has full control on the web
application folder
Thanks for your help
I'm trying to secure my web application using impersonation within the
web.config file as follows :
<identity impersonate="true"
userName="MyMachine\MyUser"
password="MyPassword" />
This gives me the error : Access to
"C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\webtests\5586467f\285b6247\hash.web" denied ...
If I do the same using a user of the domain, then it works ...
<identity impersonate="true"
userName="MyDomain\DomainUser"
password="MyPassword" />
Any idea about what I'm doing wrong ?
Of course, once this is working, I'm planning to encrypt this using
aspnet_setreg.exe and the following web.config entry :
<identity impersonate="true"
userName="registry:HKLM\SOFTWARE\MyApp\identity\ASPNET_SETREG,userName"
password="registry:HKLM\SOFTWARE\MyApp\identity\ASPNET_SETREG,password" />
Again ... this works with my domain user, but not with the local user
defined on my machine. By the way, my local user has full control on the web
application folder
Thanks for your help