views:

38

answers:

1

Hi,

I've been searching the web for the last two days, but by no means, I can get my WCF Duplex service working. I've created a demo project which can be download from skydrive:

WCFDuplexDemo.zip

For the purpose of minimizing the number of possible error causes, I've decided to just return a short string in the callback handler because then, no max message size limits or whatsoever are exceeded. Normally, my WCF service would need some time (+15mins) to calculate a result and then return it to the client. To simulate this, I've put the executing thread to slepp for 12 minutes in DoWork().

The exception I get always mentions a possible problem with the receiveTimeout, which should be increased to prevent the problem. However, the receiveTimeout (and any other timeout I know) is set to three hours.

One more thing: I'm using .NET Framework 3.5 SP1 and the problem also occurs when using WsDUalHttpBinding instead of netTcpBinding.

Any help is really appreciated :)

A: 

Harrr! For those who encounter the same problem: I think, there is a bug in the .NET 3.5 implementation of WCF. I upgraded to .NET 4 and the problem is solved now.

reinberger
Can you provide a reference to the bug documentation or something?
uosɐſ