"An error occurred while receiving the HTTP response to http://localhost:1671/Services/. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details

 

最后发现返回的DataTable无法序列化,DataTable序列化要求有TableName也就是dt.TableName='tableName'

 

这里建议工具有:SvcConfigEditor.exe和SvcTraceViewer.exe查看出错的详细消息,真的很有用。。呵呵...不然专门靠客户端出现的异常很难找出原因。。

 posted on 2009-12-21 11:42  隔山打牛  阅读(471)  评论(0)    收藏  举报