ASP. 4.5 MVC 4 does not work on the Windows2008 IIS7.0 solution

Source: Internet
Author: User

Environment:
Windows2008 R2 Standard IIS 7.5
VS2012 SQL2005

Only recently contacted MVC4 to make a small instance of it. Ready to deploy on win2008 IIS7.5 tips
---------------------------------------------
HTTP Error 403.14-forbidden
The WEB server is configured to not list the contents of this directory.


Visit/home/index
HTTP Error 404.0-not Found
The resource you are looking for has been deleted, has been renamed or is not available

On this server, I've developed a MVC2 that can be accessed
MVC3 I haven't tried.

Test this urgency! , has never encountered such a problem,
Previous IIS error, will prompt the wrong solution, this time Satan did not. Sweat

Found it on the Internet,

  <system.webServer>

</system.webServer>

Some netizens say this way, but my default is open, no
Continue to Niang ...

Key appearances

"After Microsoft MVC4 development, the URL address is the page that was redirected. So there is no suffix. IIS is not recognized."
The official provides a patch to handle URL suffix
: http://support.microsoft.com/kb/980368
This kind of meaning, I download the corresponding patch, is how also installed not up, always error,
Later I thought I had not installed the update package, is not this problem?
I will put all the update package, update package installation is too slow, who has a good way to remember to pay attention to me
After the update is packed, reload the patch above and restart everything.
  
Here to thank the network has provided the help.
Write it down to avoid later use. It's too hard to get.

ASP. 4.5 MVC 4 does not work on the Windows2008 IIS7.0 solution

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.