如何在IIS 6 ASP.NET MVC的工作? [英] How to make ASP.NET MVC work in IIS 6?
问题描述
我已经安装的.NET Framework 3.5 SP1和ASP.NET MVC CTP在Windows Server 2003 R2中,但我的ASP.NET MVC的网站仍然没有在该服务器上运行。我在寻找互联网和IIS的解决方案,我注意到,我不能选择其他.NET Framework版本2.0,除了为我的虚拟目录。我几乎可以肯定,如果我解决此我可以让我的网站在那里工作。
目前的主要/URL的答案跟:
目录列表被拒绝
此虚拟目录不允许列出的内容。
与/Default.aspxURL的答案跟:
配置错误
说明:该请求提供服务所需的配置文件的处理过程中发生错误。请检查下面的特定错误详细信息并适当地修改配置文件。
分析器错误消息:节或组名System.Web.Extensions程序已定义。
菲尔哈克有pretty良好的书面记录在这里。
的http:// haacked.com/archive/2008/11/26/asp.net-mvc-on-iis-6-walkthrough.aspx
I have installed .NET Framework 3.5 SP1 and ASP.NET MVC CTP in a Windows Server 2003 R2 box, but my ASP.NET MVC site still doesn't work on that server. I was searching the internet and IIS for a solution and I noted that I can't choose other .NET Framework version besides 2.0 for my virtual directories. I'm almost sure if I correct this I can make my site work there.
Currently the main "/" URL answers with:
Directory Listing Denied
This Virtual Directory does not allow contents to be listed.
And the "/Default.aspx" URL answers with:
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Section or group name 'system.web.extensions' is already defined.
Phil Haack has a pretty good writeup here
http://haacked.com/archive/2008/11/26/asp.net-mvc-on-iis-6-walkthrough.aspx
这篇关于如何在IIS 6 ASP.NET MVC的工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!