2015年9月29日

The service cannot be activated because it does not support ASP.NET compatibility

摘要: 部署WCF时遇到这么个错: "The service cannot be activated because it does not supportASP.NET compatibility. ASP.NET compatibility is enabled for this a... 阅读全文

posted @ 2015-09-29 14:43 代码王子 阅读(169) 评论(0) 推荐(0)

IIS部署WCF报 无法读取配置节“protocolMapping”,因为它缺少节声明

摘要: 今天写了个wcf的测试程序放在客户的服务器上供他们测试调用,部署到IIS后浏览报错了,根据错误的提示看出似乎是识别不了这个节点名,偶然的去看了下进程池中该站点的进程池名字的高级设置,看到使用的.netframework版本居然还是2.0的,难怪识别不了,换成4.0重启下站点就好了。... 阅读全文

posted @ 2015-09-29 14:21 代码王子 阅读(268) 评论(0) 推荐(0)

导航