开发者

Error when running asp.net MVC application under IIS7 that works when run locally

开发者 https://www.devze.com 2023-04-09 04:59 出处:网络
I am trying to modify the Ext.net Mvc sample in this link http://mvc.ext.net/Account/Login/?ReturnUrl=%2f

I am trying to modify the Ext.net Mvc sample in this link

http://mvc.ext.net/Account/Login/?ReturnUrl=%2f

The project is working perfectly when run locally开发者_StackOverflow中文版 in Visual Studio 2010 but when I deploy it on an IIS 7 server, after I login to the application I get the following error:

Error when running asp.net MVC application under IIS7 that works when run locally

Can you help me please thanks..


Please confirm your Global.asax.cs is correctly configured.

http://code.google.com/p/extnet-mvc/source/browse/trunk/Ext.Net.MVC.Demo/Global.asax.cs

The 404 error appears be thrown because /Account/Login/ does not exist. Can you confirm your AccountController includes a "Login" handler?

Hope this helps.

0

精彩评论

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