Groups | Blog | Home
all groups > sql server connect > november 2004 >

sql server connect : SQL CONECTION ERROR


John Tsoi
11/30/2004 6:53:02 AM
I have a VB6 client application connecting to a SQL2000 server(SP3). The
program alway stops after it processes around 200 records in the table and
getting a connection error. The client PC has MDAC 2.6 installed and other
parts of the system doesn't encounter this problem.

I had tried to run the very same program on the server and it works OK. I
believe it has to do with the connection dropped in the middle of the process.

fanyv NO[at]SPAM online.microsoft.com
12/4/2004 5:01:49 AM
There are many factors which can be causing this issue. It could be client
specific, network specific, etc. What is the connection error you get?

I suggest the following troubleshooting steps to help narrow down the issue
1. Is the problem always reproducible?
2. Does the issue occur from any client machine or just 1 client machine.
What MDAC version are you on. If possible try upgrading your client to the
highest MDAC version to see if the issue still occurs.
3. Does the issue always occur when running the same query?
4. Also, check if the issue is tool specific, for instance from the same
client machine, try running the same query from osql.exe or isql.exe to see
if the issue reproduces.



reference:
How to troubleshoot connectivity issues in SQL Server 2000 - ID: 827422
http://support.microsoft.com/?id=827422


Fany Vargas
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.

Are you secure? For information about the Strategic Technology Protection
Program and to order your FREE Security Tool Kit, please visit
http://www.microsoft.com/security.

Microsoft highly recommends that users with Internet access update their
Microsoft software to better protect against viruses and security
vulnerabilities. The easiest way to do this is to visit the following
websites:
http://www.microsoft.com/protect
http://www.microsoft.com/security/guidance/default.mspx
AddThis Social Bookmark Button