469,906 Members | 2,217 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,906 developers. It's quick & easy.

wrong return value: connection state "open" when it is actually "broken"

ITP
Hello,

I'm seeing this with the ADO.NET SQLClient provider:

When I check the connection's open status after it has
been opened AND has been broken (I simulate this by
disconnecting the cable or by stopping SQL Server), the
status returned is "true" or that it is open. The
connection status of "broken" is not currently supported
and therefore does not work either.

Have anyone else found a way around this?

Regards,

ITP
Nov 20 '05 #1
3 2100
Cor
Hi ITP,

I saw your message somewhere else, I don't have an answer, but this has to
do with a vb.net language event that is not fired i saw.

I write this because you otherwise probably get a long thread telling you
that there is a better group for this.

Cor
Nov 20 '05 #2
* "Cor" <no*@non.com> scripsit:
I saw your message somewhere else, I don't have an answer, but this has to
do with a vb.net language event that is not fired i saw.


Why? Doesn't the problem occur in C# too?

--
Herfried K. Wagner
MVP VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #3
Cor
Herfried,
Is that so, because maybe the OP is curious if it is only in vb.net?
Cor
Nov 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Lars Schlanbusch | last post: by
205 posts views Thread by Jeremy Siek | last post: by
94 posts views Thread by Samuel R. Neff | last post: by
8 posts views Thread by Steven D'Aprano | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.