Page 1 of 1

Unexpected server response

Posted: Mon 03 Nov 2008 11:55
by jkucera
After upgrading to latest 3.75 provider I face numerous "Unexpected server response" when calling a command. Previously with older providers, everything worked fine and no changes in code were made, with the exception of pointing the application to new Corelab libraries.
The aplication is using shared connection in a shared class (vb.net). The errors are random - at startup everything works ok, then, after a while, it failes. No NAT in between.
Windows Vista 64, VS2008 SP1.

More: Unexpected server response

Posted: Mon 03 Nov 2008 12:25
by jkucera
Just an additional info:
Interesting - when I put a DBMonitor component into the project and set it as active, everything seems to be working fine again, even if the DDBMonitor application isn't in place....

Posted: Mon 03 Nov 2008 12:41
by AndreyR
Could you please provide us a small test project or steps to reproduce the error?

Solved somehow...

Posted: Thu 13 Nov 2008 22:20
by jkucera
I probably found the reason for such behaviour - it was all because of multiple threads. I didn't realize that incorporating timer and raising custom events from its elapsed event would create a new thread...

Thanks anyway.