Ben*_*esh 5 asp.net-mvc routing iis-7 http-status-code-404
我一直试图弄清楚为什么我的观点在我的暂存环境中返回404,而不是我的开发环境.
Global.asax中的第一个Route条目如下:
routes.MapRoute(
"FindStore",
"FindStore",
new { controller = "FindStore", action = "Index" });
Run Code Online (Sandbox Code Playgroud)
所有视图都存在于适当的目录中.
基本上如果我去http:// StagingServer/FindStore我得到404错误.我见过的每个其他答案都与IIS 6有关,我没有运行.
| 归档时间: |
|
| 查看次数: |
18805 次 |
| 最近记录: |