Solved

VB6 + ADO + General Network Error

Posted on 2007-04-11
5
1,335 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

895 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

15 Experts available now in Live!

Get 1:1 Help Now