Re: Error reading configuration information from the registry



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


.



Relevant Pages

  • Re: simple question
    ... you shouldn't have ANY .vb files out on your production server. ... html you just need deploy that .aspx file to have your change take effect. ... require the .dll to be recompiled and deployed. ... But now, if i make a> MINOR change to a code-behind file, how do i replicate the changes without> having to recompile the whole project and make the whole process again? ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: simple question
    ... you shouldn't have ANY .vb files out on your production server. ... > html you just need deploy that .aspx file to have your change take effect. ... we must upload the application to the FTP ... >> having to recompile the whole project and make the whole process again? ...
    (microsoft.public.dotnet.framework.aspnet)
  • olap repository needed?
    ... On the production server, do you actually need the mdb / up-to-date file? ... I think the msas service just runs off the registry key that points to the ...
    (microsoft.public.sqlserver.olap)