Solved

VB6 + ADO + General Network Error

Posted on 2007-04-11
5
1,330 Views
Last Modified: 2007-12-19
I have checked a clients error log and found the following errors on different days, there are others of the same type

05/04/2007 14:28:38 : DB ERROR : Error = 3709 The connection cannot be used to perform this operation. It is either closed or invalid in this context. SQL = [SELECT LogoFilename FROM Company WHERE Branch = 'All Branches']
05/04/2007 14:28:38 : ADO ERROR : Error = -2147467259 [DBNETLIB][ConnectionRead (recv()).]General network error. Check your network documentation. : SQL State -> 08S01 : Native error - > 11

11/04/2007 11:12:39 : DB ERROR : Error = -2147467259 [DBNETLIB][ConnectionOpen (PreLoginHandshake()).]General network error. Check your network documentation. SQL = [SELECT * FROM Additional WHERE Reference = 386]
11/04/2007 11:12:40 : ADO ERROR : Error = -2147467259 [DBNETLIB][ConnectionOpen (PreLoginHandshake()).]General network error. Check your network documentation. : SQL State -> 08001 : Native error - > 11


0
Comment
Question by:rocky050371
5 Comments
 
LVL 4

Expert Comment

by:quiklearner
ID: 18890972
Is this database local?  Are there any events on the machine with the database showing the database service stopped? or went into recovery mode?  or had errors?  It looks to me like you should focus more on the database (or possibly the network if it remotely located) than the application.
0
 
LVL 69

Accepted Solution

by:
Éric Moreau earned 500 total points
ID: 18894714
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

743 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

12 Experts available now in Live!

Get 1:1 Help Now