在Silverlight应用程序中添加WCF服务引用出错
我创建了一个Silverlight应用程序,里面添加了一个WCF数据服务,然后在客户端添加该服务的引用时,出现下面错误:
下载“http://localhost:4366/AdventureWorksDataService.svc”时出错。
服务器提交了协议冲突. Section=ResponseStatusLine
元数据包含无法解析的引用:“http://localhost:4366/AdventureWorksDataService.svc”。
服务器提交了协议冲突. Section=ResponseStatusLine
服务器提交了协议冲突. Section=ResponseStatusLine
如果该服务已在当前解决方案中定义,请尝试生成该解决方案,然后再次添加服务引用。
网上找了好多方法,都不见效,求高手帮忙。