Wcf 错误问题
擴展配置問題:
兼容性問題:
[AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Required)]?
或
<serviceHostingEnvironment multipleSiteBindingsEnabled="true"? aspNetCompatibilityEnabled="false" />
?
基地址問題:
<endpoint address="設置為相對地址" ?... />, 通常為空
?
system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found.
由于修改 xxx.svc 名稱,導致配置不一致,所以必須通過 xxx.svc - 右鍵 - 查看標記 - 修改
<%@?ServiceHost?Language="C#"?Debug="true"?Service="WcfService1.xxx"?CodeBehind="xxx.svc.cs"?%>
?
Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.?
重新勾選 WCF Services
?
?
轉載于:https://www.cnblogs.com/yipeng-yu/archive/2013/01/17/2864376.html
總結
- 上一篇: PDF文件上载图标,与启用浏览器浏览允许
- 下一篇: VS2010安装Nuget提示签名不匹配