【问题标题】:configuring website using windows server2003,IIS6.0 and MVC使用 windows server 2003、IIS 6.0 和 MVC 配置网站
【发布时间】:2011-11-09 09:52:19
【问题描述】:

我一直在经历http://haacked.com/archive/2008/11/26/asp.net-mvc-on-iis-6-walkthrough.aspx,但到目前为止我还无法配置我的网站。这些是我已经完成的步骤:

  1. 已下载并安装 .net 4.0
  2. 我已经在 windows server2003 上构建并发布了我的网站到 inetpub/root
  3. 我已经使用 IIS 来按照 haacked 进行配置。似乎尽管在 web 服务扩展中设置了 asp.net 4.0(请看图片)

【问题讨论】:

    标签: model-view-controller iis-6 webserver


    【解决方案1】:

    您是否在服务器上安装了 MVC?这样它就有了 MVC DLL

    MVC install

    【讨论】:

      【解决方案2】:

      您应该将 aspnet_isapi.dll 的路径更改为来自 .NET 4 的路径:

      C:\Windows\Microsoft.NET\Framework\v4.0.21006\aspnet_isapi.dll

      【讨论】:

        猜你喜欢
        • 2014-11-10
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2010-10-14
        • 2010-09-29
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多