in

Dé specialist in .NET trainingen en consultancy

Ronald Harmsen

WTF: WCF Timeout when the system date or time changes !

Today I worked on a bug report which took me a while to understand.
When the user changed the date the WCF Channel threw an exception....

After some testing I saw that it only occurs when you set the date to a date in the future, changing the date to some day in the past doesn't reproduce this exception.

To support my first thoughts I have built a very simple WCF service with a simple console client that kept calling the service. When I changed the date to 31 dec 2009 the client throw an exception too! So the bug isn't really in my code but in the WCF framework :-(

The quick solution is to recreate the proxy when the channel faults, so I can 'fix the bug'.
Now I have to find a real solution to this, when I have found it I will post it here.

Ideas anyone ?

Published jul 23 2009, 08:38 by Ronald
Filed under: ,

Comments

No Comments