Asp.net 2.0 Server Application Unavailable error prompt

Source: Internet
Author: User

Server Application Unavailable

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.


Solution:

1. Under the virtual directory of the web sites, set Permissions, which should include:
ASP. NET
IWAM_MachineName
Local_Service
Network_Service
System
The permission must be set to write & read.
After setting, everything runs normally.

2. Create an application pool in IIS and select your application pool. net framework 2.0 website, right-click and select "properties". In "application pool", select the application pool you just created.


3rd, if w3wp.exe in the development application pool has accessed the 2.0 web application before it is started (the application assembly has been loaded at this time. net Framework 1.1 Web assembly). When you access the Web application page of 1.0 or, the error message "the server application is unavailable" also appears.


Solution:
You only need to separate programs of version 1.1 and version 2.0 from the process pool to solve this problem.


The process model user account (ASPNET by default) does not have the correct user permissions for the required system files and folders to run ASP. NET workflow.

Alternative method

To solve this problem, verify that the ASPNET account has the following correct user permissions:
% Windir % Microsoft. NETFrameworkVersionTemporary ASP. NET File: full control
% Windir % Temp: full control
Application folder: Read
% Installroot % level (for example, % windir % Microsoft. NetFrameworkVersion): Read
% Windir % Assembly: Read

Note: This is the global assembly cache. You cannot directly use Windows Resource Manager to edit the ACL of this folder. Open the command window and run the following command:

Cacls % windir % assembly/e/t/p domainuseraccount: R
Before using Windows Resource Manager, run the following command to cancel registration of Shfusion. dll:

Regsvr32-u shfusion. dll.
After setting user permissions in Windows Resource Manager, run the following command to re-register Shfusion. dll:

Regsvr32 shfusion. dll
The root directory of the website (for example, % root % InetpubWwwroot) or the path pointed to by the default website: Read
% Windir % System32: Read
(Generally, the ASPNET account has been granted the user permissions of user group members .)
==============
Loading IIS php5isapi. dll in Windows 2003 fails.
Php5isapi. dll, loading failed

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.