无担保或担保不正确的故障是由另一方接收是由、不正确、故障

2023-09-04 00:50:19 作者:呵~夢&%你狠

我有一个Windows程序调用WCF服务。几次后,该服务是强烈慢,最终这个错误会遇到的问题。重新启动后,再次向服务重新开始。 真诚。

I have a Windows program that calling a WCF service. This service after a few times be strongly slow and eventually this error will encounter. Restart after once again to the service starts again. sincerely.

推荐答案

你可能不关闭连接到WCF服务。

You are probably not closing the connection to the WCF service.

WCF有10个连接默认和1分钟超时。

WCF has a default of 10 connections and a timeout of one min.

那么,什么情况是,第10次点击去确定。第11必须等待一个可用的连接时,它会得到一个分钟后,当第一连接timesout

What then happens is that the first 10 hits go OK. The 11th has to wait for an available connection, it will get that after one min when the 1st connections timesout.

解决方案因此,以确保您关闭WCF连接。

The solution is therefore to make sure that you are closing the WCF connections.