Solved

VB6 + ADO + General Network Error

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

Accepted Solution

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

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
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…

785 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