开发者

The resource cannot be found

开发者 https://www.devze.com 2022-12-16 03:54 出处:网络
I made a really simple MVC application with VS 2010 beta. just a view with 2 fields ID, and name made the controller and just tried to check the Index开发者_StackOverflow社区 page. I am getting the fo

I made a really simple MVC application with VS 2010 beta. just a view with 2 fields ID, and name made the controller and just tried to check the Index开发者_StackOverflow社区 page. I am getting the following error. Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

Version Information: Microsoft .NET Framework Version:4.0.21006; ASP.NET Version:4.0.21006.1 i am running on my laptop Windows 7 Home Premium I installed also IIS 7. is there some special option in order to work with MVC2. Any help would be greatly appreciated. Thanks


It might be possible that your routes are causing the problem.

If you could post your Global.asax, your controller and the url your are trying to access, then it would be helpful to answer more accurately.

Thanks

0

精彩评论

暂无评论...
验证码 换一张
取 消