Mvc3 is used in iis7.0. The static page is normal, and the other 404

Source: Internet
Author: User

The local machine is normal. When I put it on the server, the title is incorrect. I checked the iis7 configuration carefully and did not find any exceptions. Finally, I found a link on an English website.

Http://stackoverflow.com/questions/5111091/getting-404-0-error-for-asp-net-mvc-3-app-on-iis-7-0-windows-server-2008

PressArticleDownload a patch and install the patch.

    1. Installed. Net 4.0
    2. Ran aspnet_regiis.exe (from the framework64/v4.0.30319 folder)
    3. Installed ASP. net mvc 3 using the Web Platform Installer
    4. Applied MS update kb980368 to enable certain IIS 7.0 or IIS 7.5 handlers to handle requests whose URLs do not end with a period

An error 0x80070422 is prompted during installation. Do not disable "Windows Update" in the service.

Update description:

This article introduces an update that allows some Internet Information Services (IIS) 7.0 or IIS 7.5 to processProgramThe request URL cannot end with a period. These handlers map to the dedicated "*" Request Path. Currently, a handler is mapped to a "*" path to only process requests whose URLs end with a period. For example, the URLs of requests processed by this handler are similar to the following urls:

Http://www.example.com/ExampleSite/ExampleFile

The update handler is mapped to the last "*" url whose end is a period. The request URL and request URL cannot end with a period and can process the Request Path. For example, this handler can now process requests similar to the following urls:

Http://www.example.com/ExampleSite/ExampleFilehttp://www.example.com/ExampleSite/ExampleFile

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.