Publishing issues with ASP. NET MVC on IIS7 or 7.5

Source: Internet
Author: User

Following the online approach, ISAPI and CGI restrictions are turned on C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll

The application pool is also set up, but the prompt is not enabled directory browsing, online and some people say do not open Directory browsing, so try a variety of methods, unfortunately there is no solution.

Think of the first to publish a WebForm site to try, and then create a new Default Web site, published to IIS, encountered an error:

Handler "pagehandlerfactory-integrated" has an error module "Managedpipelinehandler" in its module list

Followed by Baidu, follow the tutorial easy to solve the problem

WebForm website can be browsed, this time back to try the MVC release site, sure enough can also browse.

It turned out to be a setup problem with. NET 4.0, but it's not prompted under MVC.

HTTP error 403.14-forbidden WEB server is configured to not list contents of this directory

Windows 7 has been installed these days, and as a direct upgrade from XP to Windows 7, some settings are not very familiar, but the overall sense of Windows 7 is very good, in terms of humanization, user experience and other aspects of special excellent.

Move the previous ASPNET website to IIS7.5, and you'll get a mistake.

Server error in Application "DEFAULT WEB site/btwo"

Internet Information Services 7.5

Error summary HTTP error 403.14-forbiddenweb Server is configured to not list the contents of this directory.

In fact, the solution Error prompt page has

    • open IIS Manager.
    • confirm the Configuration/system.webserver/[email in the site or application configuration file  protected] attribute is set to True.

      Click Open function in the Action column on the right


      Click Enable.

      iis7.5 really good, able to prompt the solution of the problem, which is more than XP under iis5.1 and Windows Server 2003 of IIS6 are much better.

      In fact, it is not necessary to open Directory browsing in order to be safe, as long as the default document is set up

 

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.