Microsoft KB Archive/933638

= Error message when you try to run an ASP.NET 2.0 application on a Windows Server 2003-based computer: &quot;Server unavailable&quot; =

Article ID: 933638

Article Last Modified on 5/10/2007

-

APPLIES TO

 Microsoft ASP.NET 2.0, when used with:  Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)

 Microsoft Windows Server 2003, Standard Edition (32-bit x86) 

-



SYMPTOMS
When you try to run a Microsoft ASP.NET 2.0 application on a Microsoft Windows Server 2003-based computer, you may receive the following error message:

Server Unavailable

Additionally, an error message that resembles following is logged in the Application log:

Event Type: Error

Event Source: ASP.NET 2.0

Event Category: None

Event ID: 1088

Date:

Time:

User: N/A

Computer:

Description: Failed to execute request because the App-Domain could not be created. Error: 0x80070005 Access is denied.



CAUSE
This issue may occur if you try to run the ASP.NET 2.0 application after you perform an in-place upgrade of the existing Windows Server 2003 installation by using a Windows Server 2003 CD that is integrated with Windows Server 2003 Service Pack 2 (SP2).

When you perform an in-place upgrade, the upgrade process resets the permissions on the Microsoft Internet Information Services (IIS) metabase and on other folders that are used by ASP.NET. Therefore, the custom service account will not have permissions to access these folders, and you receive the error message that is mentioned in the &quot;Symptoms&quot; section.

Note An in-place upgrade is also known as a &quot;repair installation.&quot;



RESOLUTION
To resolve this issue, configure the custom service account by using the Aspnet_regiis.exe utility. At a command prompt, run the Aspnet_regiis.exe utility from ASP.NET 2.0 by using the -ga switch:

Aspnet_regiis –ga 

Note In this command,  represents the custom service account.

For example, you can run the following command to grant permissions to the NT AUTHORITY\NETWORK SERVICE account:

aspnet_regiis -ga &quot;NT AUTHORITY\NETWORK SERVICE&quot;

.



MORE INFORMATION
For more information about other related issues, click the following article number to view the article in the Microsoft Knowledge Base:

911714 Error message after you upgrade an ASP.NET-based application to ASP.NET 2.0: &quot;Server unavailable&quot;

Keywords: kbexpertiseadvanced kbtshoot KB933638

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.