Microsoft Knowledge Base Email Alertz

KBAlertz.com: Error message when you try to run an ASP.NET 2.0 application on a Windows Server 2003-based computer: Server unavailable

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 2.0 Web Hosting with SQL 2005: Click Here!
Discount ASP.NET Hosting


Bug Tracking Software
For bug tracking software or defect tracking software or issue tracking software, visit Axosoft.


Community Site



We Send hundreds of thousands of emails using ASP.NET Email



Expert Web Design & Graphic Design
Design44.com




Mentioned In








Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks




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

Article ID:933638
Last Review:May 10, 2007
Revision:1.3

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: Date
Time: Time
User: N/A
Computer: ComputerName
Description: Failed to execute request because the App-Domain could not be created. Error: 0x80070005 Access is denied.

Back to the top

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 "Symptoms" section.

Note An in-place upgrade is also known as a "repair installation."

Back to the top

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 AccountName
Note In this command, AccountName 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 "NT AUTHORITY\NETWORK SERVICE"
.

Back to the top

MORE INFORMATION

For more information about other related issues, click the following article number to view the article in the Microsoft Knowledge Base:
911714 (http://kbalertz.com/Feedback.aspx?kbNumber=911714/) Error message after you upgrade an ASP.NET-based application to ASP.NET 2.0: "Server unavailable"

Back to the top


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)

Back to the top

Keywords: 
kbexpertiseadvanced kbtshoot KB933638

Back to the top

       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Be the first to leave feedback, to help others about this knowledge base article.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please