【发布时间】:2011-04-01 00:58:39
【问题描述】:
将应用程序移至共享主机后,我无法将服务引用添加到过去在专用服务器上工作的 .asmx 和 WCF 服务。
添加WCF服务引用的错误是:
There was an error downloading 'address ... Service.svc'.
The server committed a protocol violation. Section=ResponseHeader Detail=CR must be followed by LF
Metadata contains a reference that cannot be resolved: 'address ... Service.svc'.
The server committed a protocol violation. Section=ResponseHeader Detail=CR must be followed by LF
The server committed a protocol violation. Section=ResponseHeader Detail=CR must be followed by LF
If the service is defined in the current solution, try building the solution and adding the service reference again.
asmx 网络参考:
There was an error downloading 'address ... .asmx'.
The server committed a protocol violation. Section=ResponseHeader Detail=CR must be followed by LF
There was an error downloading 'address ... .asmx/$metadata'.
The server committed a
有什么想法吗?
【问题讨论】: