HTTP errors 404.17-not found and HTTP errors 404.2-not found Solution

Source: Internet
Author: User

HTTP 404.2-not found "the content of the IIS 7.5 request seems to be a script, so it cannot be processed by a static file handler.

Solution:

UseASPnet_Regiis.exeRegistration.NetFramework

After IIS is re-installed, you need to use ASPnet_Regiis.exeTo register.NetFramework

Run CMD and enter:

C: \ windows \ Microsoft. NET \ framework \ v4.0.30319 \ aspnet_regiis-I

(V4.0.30319 depends on the actual. NET Framework)

After installation, restart IIS.

========================================================== ======================================

HTTP Error 404.2-not found the page you requested cannot be provided due to the "ISAPI and CGI restrictions" list setting on the Web Server

Error details: HTTP Error 404.2-Not found. The requested page cannot be provided due to the "ISAPI and CGI restrictions" list setting on the Web server.
Environment: win7 + iis7.0
 
Solution: Choose IIS root node> ISAPI and CGI restriction on the right> set the prohibited DOTNET version item to allow.

 

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.