Hi,
WCF Service hosted as windows service
Using netmsmq binding
MSMQ is transactional
Windows 2003 server to host
MSMQ 3.0
Due to some reason exceptions are raised and so it puts the message back in the queue and tries for serval times and then goes in faulted state.
So what should be the mechanism to handle this type of scenarios...
Error
Faulting application inetinfo.exe,
version 5.1.2600.5512, faulting module
webengine.dll, version 2.0.50727.3082,
fault address 0x0002d640.
help !!
...
When a single ClientBase<T> instance is used for multiple WCF service calls, it can get a channel into a faulted state (ie. when the service is down).
I would like to heal the channel automatically when the service comes up again. The only way I found is to call the following code before each method call:
if (clientBase.InnerChannel.St...
In my WCF client class I'm handling the Faulted() event so that if the remote service throws an exception and faults the channel I can still at least shut it down gracefully. Here's my code:
protected void RemoteDataRetriever_Faulted(object sender, EventArgs e)
{
(sender as ICommunicationObject).Abort();
this.Dispose();
thro...
Just trying to get my head around what can happen when things go wrong with WCF. I have an implementation of my service contract declared with an InstanceContextMode of PerSession...
[ServiceBehavior(InstanceContextMode = InstanceContextMode.PerSession, ConcurrencyMode = ConcurrencyMode.Multiple)]
The calls happen as follows:
My cli...