Re: Error reading configuration information from the registry
- From: Dominick Baier [DevelopMentor] <dbaier@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 12 Apr 2006 21:21:06 +0000 (UTC)
which production server are you using?
IIS6 has no need for application impersonation - you can configure the process identity per application using app pools.
i think this setreg approach is cumbersome...
---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com
We have set up a impersonation on our web application. The service
accounts credentials are stored in the registry. This user account is
passed to our SQL Server.
Excerpt from web.config:
<identity impersonate="true"
userName="registry:HKLM\SOFTWARE\AppName\identity\ASPNET_SETREG,userNa
me"
password="registry:HKLM\SOFTWARE\AppName\identity\ASPNET_SETREG,passwo
rd"/>
<authentication mode="Windows"/>
While we are developing on our local Windows XP - IIS environments,
this error occurs about 50% of the time after we edit a page or
recompile. It appears that IIS has lock on the registry key. If we
run iisreset, the error is resolved until the next code change or
recompile.
Version Information: Microsoft .NET Framework Version:2.0.50727.42;
ASP.NET Version:2.0.50727.42
Thank you in advance for any help,
Sean Brooks
.
- Prev by Date: Re: Code works in Windows app. but not in ASP.Net
- Next by Date: RE: Could not find a part of the path - User control from within IE
- Previous by thread: Re: Code works in Windows app. but not in ASP.Net
- Next by thread: Re: Error reading configuration information from the registry
- Index(es):
Relevant Pages
|