环境如下:win7 + IIS7.0 解决办法:IIS的根节点->右侧“ISAPI和CGI限制”->把禁止的DotNet版本项设置为允许,即可 转载于:https://www.cnblogs.com/refactor/archive/2012/05/30/2526113.html