?
Solved

db library dead - connection broken

Posted on 1998-03-29
2
Medium Priority
?
375 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 40 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.
Suggested Courses

752 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