首页 > Web开发 > 详细

MVC Route not working

时间:2014-09-08 02:08:26      阅读:373      评论:0      收藏:0      [点我收藏+]

When you run your MVC application, you always receive following message:

 

HTTP Error 404.0 - Not Found

The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

 

 

But actually, in your code ,the routes are all right .

In this scenario, make sure following config exists in you web.config file‘s system.webserver node:

<modules runAllManagedModulesForAllRequests="true" />

 

It woks good for me ,hope this help someone else .

MVC Route not working

原文:http://www.cnblogs.com/yanyuge/p/3961016.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!