. Net: Solutions for server application unavailability

Source: Internet
Author: User

When using. NET 2.0, after the project is completed, you want to browse in IIS, but sometimes "server applicationsProgramThis problem is also encountered after the system is reinstalled today. There are three common solutions:

Method 1Re-register. NET 2.0:
C: \ windows \ Microsoft. NET \ framework \ v2.0.50727 \ aspnet_regiis.exe-I (generally the first method can be used)

Method 2Create an application pool:
To create an application pool
1. Click Start, point to program, and click Control Panel ".
2. Double-click "Administrative Tools" and double-click "inte. Net Information Service (IIS )".
3. Right-click application pool, point to new, and click application pool ".
4. Type apppool1 in the application pool ID text box.
5. Click OK ".

Allocate applications to the application pool
1. Click Start, point to program, and click Control Panel ".
2. Double-click "Administrative Tools" and double-click "inte. Net Information Service (IIS )".
3. Double-click "web site ".
4. Double-click "Default web site ".
5. Right-click debugapp1 and click Properties ".
6. In the "main directory" tab, select "apppool1" in the "application pool" list box, and click "OK ".

Solution 3To modify the access permission of the folder where the website directory is located:

Right-click the current website directory and choose Properties> Security> Add> advanced> Search now> select users user> OK

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.