MVC Publisher HTTP Error 403.14-forbidden and HTTP error 404.2-not Found

Source: Internet
Author: User

The newly created MVC Project Publisher will browse the site after you may have a problem

Do not follow the system prompt to open "directory browsing", but should be to do some configuration

Specific steps:

1: Configure the Web. Config

< system.webserver >   <  validateintegratedmodeconfiguration= "false"/>   <   runallmanagedmodulesforallrequests= "true"/></  system.webserver>

Here to make a note, you can only add the first configuration, but some sites need to add two.

2: Check "handler mappings"

Please check "handler mapping", if there is "extensionlessurlhandler-integrated-4.0", if not, please register. net4.0

Input in operation:C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe-i

After installation, restart IIS, browse the Web site, if the issue 402.2 will follow the third cloth to solve if there is no problem can be used.

3: HTTP error L404.2-not Found

This can be handled as prompted

After the adjustment is complete restart IIS, browse the project on it, if there is a problem, according to the IIS fix.

MVC Publisher HTTP Error 403.14-forbidden and HTTP error 404.2-not Found

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.