Solutions that are not available for IIS server applications

Source: Internet
Author: User
Tags iis net command

The first may be because IIS installed after the. NET Framework first causes. NET to not be registered in IIS:

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.

The second (probably because of insufficient permissions):

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.

Third: (possibly because of application pool configuration issues)

To create a new application pool, the steps:
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.
To assign an application 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.

Fourth (because the ASP.net state service is not started):

In the services, locate ASP. NET status service to see if it is not started, if it is not started, you need to double-click it, and then choose Start.

Run the *.aspx file in IIS again to see if it's normal.

This is the fourth kind of I have tried the first three solutions, the problem is still unresolved, helpless, to find their own solutions, think of a service may be stopped may also lead to the emergence of this error, so after the test, and finally resolved.

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.