我得到一个空白页,而在IIS上部署MVC应用程序 [英] I am getting a blank page while deploying MVC application on IIS
问题描述
我目前部署我使用MVC ASP.NET的RC这显示出目前没有在生产服务器上构建的应用程序。
在我global.ascx的路线是典型的即
I am currently deploying my application built using RC of MVC ASP.NET on the production server which is showing nothing now. The routes in my global.ascx are typical i.e.
routes.MapRoute(
"Default", // Route name
"{controller}.aspx/{action}/{id}", // URL with parameters
new { controller = "Home", action = "Index", id = "" } // Parameter defaults
);
routes.MapRoute(
"Root",
"",
new { controller = "Home", action = "Index", id = "" }
);
任何一个可以弄清楚为什么它显示我的只有空白页
Can any one figure out why it is showing me only blank pages
对不起,我忘记提及的是IIS 6
Sorry i forget to mention the it is IIS 6
Interestingnly它也工作在我的本地IIS(即本地内置了VS&放大器;与XP标准),以及
推荐答案
我解决了这个问题,主要问题是不同版本的MVC框架。生产服务器是有,而我已经安装了MVC RC1 MVC的测试。所以,当我安装在服务器上的RC1以及运行MVC扩展registeration脚本,一切都感谢您的帮助球员
I solved the issue, the major issue was the different versions of MVC framework. Production Server was having MVC Beta while i have installed MVC RC1. So as soon as i installed the RC1 on the server as well as run the mvc extension registeration scripts, everything worked Thanks for your help guys
这篇关于我得到一个空白页,而在IIS上部署MVC应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!