communicationexception

Throwing an exception in a WCF service throws a CommunicationException

Whenever I throw an exception in my service, another exception is thrown right after it: System.ServiceModel.CommunicationException: There was an error reading from the pipe: Unrecognized error 109 (0x6d). ---> System.IO.PipeException: There was an error reading from the pipe: Unrecognized error 109 (0x6d). I'm implementing IErrorHand...

WCF, BasicHttpBinding: Stop new connections but allow existing connections to continue

.NET 3.5, VS2008, WCF service using BasicHttpBinding I have a WCF service hosted in a Windows service. When the Windows service shuts down, due to upgrades, scheduled maintenance, etc, I need to gracefully shut down my WCF service. The WCF service has methods that can take up to several seconds to complete, and typical volume is 2-5 m...

WCF response too long - authentication error

In the project that I currently work for, there is exposed a WCF service which returns an array of a business entity, let's call it Invoice : Invoice[] GetInvoicesByTypeAndTime(InvoiceType invoiceType, byte startHour, byte? endHour); The authentication mechanism used is Windows Authentication, the WCF service is hosted in a Web Appli...

spring + ibatis + mysql result in com.mysql.jdbc.exceptions.jdbc4.CommunicationsException

Hi all, this is a very famous error, however after searching and broswing the web I didn't manage to find a stable and proper solution. We are running an application onto this environment: spring + ibatis + mysql all at their latest version. Very randomly we get this error, and then after some time, which can be hours or days, the erro...

CommunicationException with 'not recognized sequence' message in WCF.

Hello, I get a CommunicationException while using WCF service. The message is: The remote endpoint no longer recognizes this sequence. This is most likely due to an abort on the remote endpoint. The value of wsrm:Identifier is not a known Sequence identifier. The reliable session was faulted. The exception is thrown in a moment after a...

weird error about WCF -- System.ServiceModel.CommunicationException was unhandled

I created a simple WCF demo: Server Side: namespace ServerSide { class Program { static void Main(string[] args) { System.ServiceModel.ServiceHost host = new System.ServiceModel.ServiceHost(typeof(HelloIndigo.HelloIndigoService), new Uri("http://locahost:8000/HelloIndigo")); ...

System.Net.WebException: The request was aborted: the request was cancelled.

hello, I have a WCF service that has been giving me this error under load conditions (and I cant seem to recreate the error otherwise). we've been trying to find a way aroud it for about a week now with no such luck.. actually, the error I see has two parts to it, System.ServiceModel.CommunicationException: An error: (The request ...