使用windows server2003、IIS6.0和MVC配置网站
我一直在浏览 http: //haacked.com/archive/2008/11/26/asp.net-mvc-on-iis-6-walkthrough.aspx 但到目前为止我还无法配置我的网站。这些是我已经完成的步骤:
- 下载并安装 .net 4.0
- 我已经在 windows server2003 上构建并发布了我的网站到 inetpub/root
- 我已经使用 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:
- Downloaded and installed .net 4.0
- I have built and published my website to inetpub/root on windows server2003
- 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
你在服务器上安装了MVC吗?这样它就具有 MVC DLL
MVC 安装
did you install MVC on the server? So that it has the MVC DLLs
MVC install
您应该将 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