Solved

db library dead - connection broken

Posted on 1998-03-29
2
350 Views
Last Modified: 2008-02-01
The major problem I am facing now is while executing some SQL Queries
ODBC driver throws an exception saying "Protocol
error
in TDS stream". After that the application looses connection with the
database.
But some times these queries get executed successfully (which means there
is no
problem in the syntax)

When I ran the same queries through ISQLW, there also some times the query
gets executed but not always. When it fails in ISQLW, it gives a message
"DB-Library Process Dead - Connection broken"

The common thing in all these queries is that some of the objects being
accessed by these queries are VIEWs.

Is this a known bug in sql serve 6.5?

Thanx in advance
0
Comment
Question by:sarika
2 Comments
 
LVL 7

Expert Comment

by:spiridonov
ID: 1090914


What client software are you using? Try applying service pack #3 or #4 to your client workstation. If you using 16-bit odbc, manualy  copy the necessary dll's from SP#3/SP#4 to you windows\system directory

0
 
LVL 1

Accepted Solution

by:
chacko earned 20 total points
ID: 1090915
Hi Sarika!

ODBC often loses it's connection because of the timeout. You can use ODBC functions to set the login and query timeout value. The latest ODBC driver 3.0 and SQL driver are available from Microsoft free in microsoft.com.

Bye,
chacko

0

Featured Post

[Webinar] Disaster Recovery and Cloud Management

Learn from Unigma and CloudBerry industry veterans which providers are best for certain use cases and how to lower cloud costs, how to grow your Managed Services practice in IaaS clouds, and how to utilize public cloud for Disaster Recovery

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Solution for warm standby SQL server 20 40
SQL Server Deadlocks 12 50
SQL Select Statement 2 22
SQL Server merge records in one table 2 12
Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
I have a large data set and a SSIS package. How can I load this file in multi threading?
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now