使用windows server2003、IIS6.0和MVC配置网站

发布于 2024-12-14 13:59:04 字数 386 浏览 3 评论 0原文

我一直在浏览 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 按照黑客进行配置。看来尽管在 web 服务扩展中设置了 asp.net 4.0(请参见图片)

I have been going through http://haacked.com/archive/2008/11/26/asp.net-mvc-on-iis-6-walkthrough.aspx but so far I have not been able to configure my website. These are the steps I have done:

  1. Downloaded and installed .net 4.0
  2. I have built and published my website to inetpub/root on windows server2003
  3. I have used IIS to do the cofiguration as per haacked. It seems that despite setting the asp.net 4.0(please see image) in the webservice extensions

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

夜唯美灬不弃 2024-12-21 13:59:04

你在服务器上安装了MVC吗?这样它就具有 MVC DLL

MVC 安装

did you install MVC on the server? So that it has the MVC DLLs

MVC install

り繁华旳梦境 2024-12-21 13:59:04

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

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

You should change the path to aspnet_isapi.dll to the one from .NET 4:

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文