我有一个开发和测试卡西尼的mvc应用程序.在GoDaddy上部署到我的网站,默认页面很好.点击登录,我得到一个404.
我在IIS 7下运行,所以这是意想不到的.我的路线很简单:
routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); routes.MapRoute( "Default","{controller}/{action}/{id}",new { controller = "Public",action = "Index",id = "" } ); routes.MapRoute( "Report1","Report/{action}/{start}/{end}",new { controller = "Report",action = "Index" } ); routes.MapRoute( "Report2","Report/{action}/{start}/{end}/{idList}",action = "Index" } );
任何想法可能会发生什么或如何我可以解决这个问题?