I am using wondows 2008 standard OS.we have private queue ,in that message is published by another application.And we have WCF subscriber to poll the message from private queue and deliver to another system...
after some time WCF subscriber(installed as windows service) stops polling the message from Queue.when I go to close the window service then I get the error in windows logs error is:-
Blockquote
Failed to stop service. System.ServiceModel.CommunicationObjectFaultedException: The communication object, System.ServiceModel.ServiceHost, cannot be used for communication because it is in the Faulted state. at System.ServiceModel.Channels.CommunicationObject.Close(TimeSpan timeout) at Microsoft.Samples.MSMQToWCF.SubscriberWindowsService.OnStop() at System.ServiceProcess.ServiceBase.DeferredStop()
I am really clueless...i don't see any error in our application logs.. even though I attached Error Handler derived from IErrorHandler..but don't see any log there...because it maight not be excpetion in our code....
I suspect listening channel of the queue is breaking so Subscriber is stopped but still service runs..if that is the case how to reset the channel again???
Any other clue????
Please help me...