FIX: ASP.NET does not work with the default ASPNET account on a domain controller This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
This article was previously published under Q315158 SYMPTOMS
After you install Microsoft Visual Studio .NET or the Microsoft .NET Framework on a domain controller or on a backup domain controller, if you try to run an ASP.NET application, the browser displays the following error message:
Server Application Unavailable
Furthermore, the following event is logged in the system application event log:
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
aspnet_wp.exe could not be launched because the username and/or password supplied in the processModel section of the config file are invalid.
This applies to Internet Information Services (IIS) version 5.0 or later.
aspnet_wp.exe could not be started. HRESULT for the failure: 80004005 CAUSE
By default, ASP.NET runs its worker process (Aspnet_wp.exe) with a weak account (the local machine account, which is named ASPNET) to provide a more secure environment. On a domain controller or on a backup domain controller, all user accounts are domain accounts and are not local machine accounts. Therefore, Aspnet_wp.exe fails to start because it cannot find a local account named "localmachinename\ASPNET". To provide a valid user account on the domain controller, you must specify an explicit account in the <processModel> section of the Machine.config file, or you must use the SYSTEM account.
Note If you try to debug (click the Start button) before you try to browse to the page you can experience the exact same problem. RESOLUTION
To work around this problem, use one of the following methods:
Therefore, Microsoft recommends that you use the first workaround. To use the first workaround, follow these steps:
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.
This bug was corrected in ASP.NET (included with the .NET Framework) 1.1.
REFERENCES
For more information about ASP.NET security, click the following article number to view the article in the Microsoft Knowledge Base:
306590 (http://support.microsoft.com/kb/306590/)
ASP.NET security overview
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
316989 (http://support.microsoft.com/kb/316989/)
Error message when you create a trusted data connection from ASP.NET to SQL Server: "Login failed for user: 'AccountName'"
329290 (http://support.microsoft.com/kb/329290/) How to use the ASP.NET utility to encrypt credentials and session state connection strings
317012 (http://support.microsoft.com/kb/317012/) Process and request identity in ASP.NET
APPLIES TO
| Article Translations
|


Back to the top
