Resolving IIS Server application not available method Rollup _win server

Source: Internet
Author: User
Tags net command

The server application is not available. The Web application you are attempting to access on this Web server is currently unavailable. Please click the "Refresh" button in the Web browser to retry your request. Administrator considerations: The error message detailing the reason for this particular request failure can be found in the WEB server's system event log. Please check this log entry to find out why this error occurred.

This is probably caused by the fact that IIS installed after the. NET Framework has caused. NET to not be registered in IIS.

I've been searching the internet for a long time. You can run aspnet_regiis/i from the. NET command-line tool (or in a directory similar to the following: C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_ Regiis.exe-i), but did not try many times, and later found that you have to uninstall and then install, recreate the application to the line, specifically as follows:

Run the aspnet_regiis/u uninstall from the. NET command-line tool and aspnet_regiis/i the installation

Then restart IIS, remove the default application, and then recreate the site as an application.

Alternatively, it is possible that the ASPNET account does not have permissions for the server directory specified by IIS. Find tools-Folder Options-view-Using simple folder sharing (recommended) In Explorer remove the front tick and then right-click on the server's designated directory, attribute-security-add-advanced-Find Now, add the ASPNET account and give it a full access permission. If you do this, you will find that you have not made that mistake, but if you access the database you may be prompted that the ASPNET account does not have permission to access the database. This hint is much clearer, put the account in the database to add the appropriate permissions on it.

Workaround one re-register. Net 2.0/3.5/4.0:

Copy Code code as follows:

C:windowsmicrosoft.netframeworkv2.0.50727as.net_regiis.exe–i

Workaround two Create a new application pool:

To create a new application pool

1. Click Start, point to Programs, and then click Control Panel.

2. Double-click Administrative Tools, and then double-click inte.net Information Services (IIS).

3. Right-click application Pool, point to New, and then click Application Pool.

4. Type AppPool1 in the application pool ID text box.

5. Click OK.

assigning applications to an application pool

1. Click Start, point to Programs, and then click Control Panel.

2. Double-click Administrative Tools, and then double-click inte.net Information Services (IIS).

3. Double-click Web site.

4. Double-click Default Web site.

5. Right-click DebugApp1, and then click Properties.

6. In the Home Directory tab, in the Application Pool list box, select AppPool1, and then click OK.

Workaround three, modify the access rights of the folder where the site directory resides:

Locate the current Site Directory-> right--> Properties-> Security-> Add-> Advanced-> Find Now-> Select Users-> identify-> determine

Solution:

1, create a new application pool, point attributes, identification, select the application pool security account, Local system, ok!

2, the permissions in the Web folder properties Add Network Service account permissions.

At this point, the Web site can function correctly. NET program has

The above is 3 kinds of solutions, the small partners according to their own situation, the choice, as appropriate, hope to be helpful to everyone

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.