IIS and MVC

Source: Internet
Author: User

Symptom: After an MVC project is deployed to IIS (7.5), only the file directory is displayed when browsing, not the Web site

Solutions

1. The framework version corresponding to the server installation program

2. MVC version corresponding to server installation program

3. Installing CGI and ISAPI extensions: Control Panel-->windows functions-->internet Information Services--World Wide Web services--application development Features--check install CGI and ISAPI extensions

4. New application domain for IIS: Framework version 4.0 and Integrated mode

5. Select Web Site--Features view--double-click CGI and ISAPI Extensions--Select 4.0 for the file set 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.