简体   繁体   English

请求通道在 00:00:59.9844002 之后等待回复时超时。 收到此错误

[英]The request channel timed out while waiting for a reply after 00:00:59.9844002. Getting this error

The request channel timed out while waiting for a reply after 00:00:59.9844002.请求通道在 00:00:59.9844002 之后等待回复时超时。 Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding.增加传递给 Request 调用的超时值或增加 Binding 上的 SendTimeout 值。 The time allotted to this operation may have been a portion of a longer timeout.分配给此操作的时间可能是较长超时的一部分。

Any help is much appreciated!任何帮助深表感谢! Thanks!谢谢!

I had same problem, i edited both my App.config and Web.config and nothing.我有同样的问题,我编辑了我的 App.config 和 Web.config,什么也没有。 Then i just tried this:然后我只是试过这个:

this.clientWCF.InnerChannel.OperationTimeout = new TimeSpan(0, 15, 0);

And it works!!!它有效!!! Problem solved.问题解决了。 Hope this helps you or others in the same predicament.希望这可以帮助您或其他处于相同困境的人。 Regards.问候。

Excellent advice Jhollman, [service].InnerChannel.OperationTimeout = new TimeSpan(0,5,0) increased the timeout wait for service response to 5 minutes极好的建议 Jhollman, [service].InnerChannel.OperationTimeout = new TimeSpan(0,5,0) 将等待服务响应的超时时间增加到 5 分钟

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM