Solved

VB6 + ADO + General Network Error

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…

696 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