Re: SOS! IIS Stopped working completely!

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Steven Cheng[MSFT] (v-schang_at_online.microsoft.com)
Date: 04/29/04


Date: Thu, 29 Apr 2004 01:45:25 GMT

Hi Patrick,
 
>From the error message "aspnet_wp.exe could not be launched because the
username and/or password supplied in the processModel section of the config
file are invalid.", I believe this error is related with the account
settings.
 
Actually, when we set "machine" as the user in processModel, ASP.NET work
process is running with the account "ASPNET". Please perform the following
steps to make the asp.net web application works:
 
1. I would like to double confirm the settings in machine.config. Please
make sure the user name and password is:
 
userName="machine" password="AutoGenerate"
 
Note: Please do not overwrite "AutoGenerate" with another password.
 
2. Delete the "ASPNET" account.
 
This is a local account, not a domain account.
 
3. In the command window, locate the following directory:
 
 C:\<Windows Directory>\Microsoft.Net\Framework\VersionNote:
 
You must replace <Windows Directory> in this path with the correct
directory for your system and replace <Version> with the version of the
NET Frame work installed on your system.
 
4. Type "aspnet_regiis -i" (without the quotation marks) to configure the
required application mappings correctly.

This will reinstall ASP.NET on the machine.
 
Now, please try to run the ASP.NET web application again. If there are any
new findings, please don't hesitate to let me know.
 
Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx



Relevant Pages

  • Re: Changing domain user password
    ... editing the processModel section. ... If you have changed the process model account, there is no reason to also ... > DirectoryEntry de = new DirectoryEntry; ... Impersonation may or may not be needed as ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Server Application Unavailable
    ... password supplied in the processModel section of the config file ... directory allow access to the configured account. ... You can find the application pool in the properties of the website and/or virtual directory that contains the site you're trying to get to run. ... Read/write rights in the ASP.NET Temporary Files under the framework directory ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Server Application Unavailable
    ... The configuration is Windows 2000, with .NET 2.0 the default ASP.NET ... password supplied in the processModel section of the config file ... directory allow access to the configured account. ... Read/write rights in the ASP.NET Temporary Files under the framework directory ...
    (microsoft.public.dotnet.framework.aspnet)
  • Server Application Unavailable
    ... I'd actually likely be able to figure this out on my own if the administrator note were correct, but I can't find anything in the event log about the issue either. ... I see nothing about username/password in the processModel Section of that file, ... correctly installed and that the ACLs on the installation ... directory allow access to the configured account. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How to run aspnet with system account
    ... it be used might open a can of worms for some poor developer ... Create a weak account that has the correct permissions, ... Set the userName attribute to SYSTEM in the <processModel> ... Granted, that section specifically refers to domain controllers, ...
    (microsoft.public.dotnet.framework.aspnet.security)