转(http://blog.csdn.net/vic0228/article/details/48806405) 部署WCF时遇到这么个错: "The service cannot be activated because it does not supportASP.NET compatibility. ASP.net compatibility is enabled for this application. Turn off ASP.Net compatibility mode in th…
如果你直接在IIS 7中配置WCF,访问.svc文件时会出现404错误.解决方法,以管理员身份进入命令行模式,运行:"%windir%\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe" -r -y -r - 重新安装此版本的 Windows Communication Foundation, 并更新 IIS 元数据库根处的脚本映射…