IIS7 部署MVC3

购买了阿里的云ECS,装载的是windows 2008 R2 64bit系统,要搭建mvc3的网站,然后出现了各种没见过的错误信息。。。

1、

HTTP Error 403.14 - Forbidden

The Web server is configured to not list the contents of this directory.

查到的解决方案,在web.config文件确认有以下内容:

<system.webServer>

<validation validateIntegratedModeConfiguration="false" />

<modules runAllManagedModulesForAllRequests="true" />

</system.webServer>

 

2、aspxerrorpath=  路径错误

   需要安装.net4.0环境,Windows 2008系统的IIS默认只带了.net 3.5

 

3、处理程序 ExtensionlessUrlHandler-ISAPI-4.0_64bit

    应用池启用32应用程序

  

可算搞定了。。。。

posted @ 2015-07-30 12:33  笑歌自若  阅读(179)  评论(0编辑  收藏  举报