是Asp.net MVC4兼容的IIS6和WindowsServer 2003

问题描述:

Asp.net MVC4是否可以与IIS6和WindowsServer 2003兼容?如果合适,如何在IIS6和WindowsServer 2003中托管MVC4.
我的另一个问题
在将模型绑定到控制器中后,我正在视图中访问数据,该视图在我的本地系统中运行良好,但是当连接到服务器视图中的端口无法获取数据时,另一个问题是我初始化了ViewData ["Employeecode"] =". 00018306"这样,然后在& lt; input type ="hidden"之类的视图中访问该数据. name ="EmployeeCode" id ="EmployeeCode"值="@ ViewData ["EmployeeCode"]]"/>它在我的本地系统上运行,但在托管后无法在服务器上运行.我的系统配置是window-7 IIS7.5 64位,服务器配置Windowserver-2003 IIS6,请解决我的问题,先生,我面临非常危急的情况,请尽快帮助我我尽可能地等待您的回答

Is Asp.net MVC4 comaptable IIS6 and WindowsServer 2003? If comaptable how host MVC4 in IIS6 and WindowsServer 2003.
My Another problem
After binding the model in the controler i am accessing data in the view it is working fine in my local system but when port to into Server view not able to get data an another proble i initialize a ViewData["Employeecode"]="00018306" like this and accessing that data in the view like <input type="hidden" name="EmployeeCode" id="EmployeeCode" value="@ViewData["EmployeeCode"]" /> it is working in my local system but not working it into server after hosting .My System Configuration is window-7 IIS7.5 64 bit,Server Configuration Windowserver-2003 IIS6 please solve me sir i am facing very critial situation plesase help me as soon as possible i am waiting for your answer

我使用IIS 5.1在Windows XP的本地计算机上运行MVC4站点,我要做的就是添加4.0框架,确保虚拟目录以正确的框架为目标.因此,我非常确定您可以在Windows Server 2003中运行它们.

您的其他问题

您应该在本地IIS服务器(而不是Visual Studio)中运行站点,并远程连接到该过程以逐步执行代码,以确保一切正常.
I run MVC4 sites on my local machine with windows xp using IIS 5.1 all I had to do is add the 4.0 framework make sure the virtual directory is targeting the right framework. So I am pretty sure that you can run them in windows server 2003.

Your other problem

You you should run your site in your local IIS server (not visual studio) and remote attach to the process to step though the code to see that things are working correctly.