Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Programming / Connectivity / January 2006

Tip: Looking for answers? Try searching our database.

Read Failure General SQL Error

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
IGLC - 31 Jan 2006 12:14 GMT
I am using Delphi 5 Enterprise version and SQL Server 2000. So, I use the
odbc bridge. SQL Client connects through TCP/IP(not named pipes). My
application works alright, but sometimes, the clients get this Error  Read
Failure General SQL Error [Microsoft][ODBC SQL Server Driver]Communication
Link Failure. The client may works fine again for hours and again this
problems repeats. Please let me know of any solution. What should I do ?
Arnie - 31 Jan 2006 16:21 GMT
>I am using Delphi 5 Enterprise version and SQL Server 2000. So,
>I use the
[quoted text clipped - 8 lines]
> problems repeats. Please let me know of any solution. What
> should I do ?

I think the error message says it all.  The connection was
dropped.

- Arnie
IGLC - 31 Jan 2006 16:51 GMT
OK, but why it was't happen befor.
and how to fix it.
Arnie - 31 Jan 2006 18:51 GMT
> OK, but why it was't happen befor.
> and how to fix it.

It depends on the network to some extent.  Connections should be
fairly solid on a LAN, server reboots aside.  It would be more
likely to happen when using the internet and/or a VPN.

The error can be difficult to recover from.  Certainly, the
SELECT (or whatever) should be in a try/catch block.  You could
then catch the error, try a reconnect and retry the operation.
Not easy if you have a lot of DB I/O operations.

The only other thing I can think of is that SQL Server may have
an inactivity timeout.  If this were the case, it might drop the
connection after some period of inactivity.

- Arnie
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.