1分钟的错误是
Inner exception: This request operation sent to net.tcp://localhost:18001/PitToPort/2008/01/30/StockpileService/tcp did not receive a reply within the configured timeout (00:01:00).
The time allotted to this operation may have been a portion of a longer timeout. This may be because the service is still processing the operation or because the service was unable to send a reply message. Please consider increasing the operation timeout (by casting the channel/proxy to IContextChannel and setting the OperationTimeout property) and ensure that the service is able to connect to the client
当你收到这个消息时,与实际的超时无关。在服务方法返回结果的时间和实际字节通过电子邮件发送之间,可以是配额(图中的对象数,总体大小,数组长度)或服务器端出错的情况。所以,你应该检查你的配置设置(而不是超时),除非你必须等待一分钟才能得到错误,如果你马上得到错误,那么与超时无关)。
这个无用的信息在我的WCF烦恼列表之上。
原文地址:https://www.jb51.cc/windows/372326.html
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。