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:
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 :)