Asp. NET Error collection one----. net4.0 after the project is created, the project is deployed on IIS and cannot be browsed, prompting 404

Source: Internet
Author: User

Preface: These mistakes are purely the problems that they encounter when developing the project, and they are more targeted. If there is no solution to the problem, do not spray.

Problem Description:

. net4.0 after the project is created, the project is deployed on IIS and cannot be browsed, prompting 404

Build the environment of the project:

The project was established under. net4.0, and the. NET class library referenced by the project is version 4.0, IIS version 6.0 System window Service 2003

Workaround:

First, check to see if the ASP.net version of the Web site is 4.0 in IIS.
Second, open the Web service extension to see if there are any asp.netv4.0 in the Web service extensions. If there is a look disabled, if the change condition is disabled to allow.
Third, if there is no asp.netv4.0 in the Web service extension, click "Add a new Web service extension" with the extension asp.netv4.0.
Four, click Add, browse to find the following file C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll, click OK.
Five, re-refresh the Web site folder in IIS. Restart the Web site project, and then browse, it's OK.

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.