Solved

The object invoked has disconnected from its clients.

Posted on 2004-08-10
5
1,411 Views
Last Modified: 2013-12-25
I have a visual basic application that reads and writes to access tables. The application has been working fine until recently. I continue to get this error: Automation error
The object invoked has disconnected from its clients.

The database calls are going to a dll. Does anyone know the cause of this kind of error? Thanks.
0
Comment
Question by:jasonFoxPro
  • 2
5 Comments
 
LVL 29

Expert Comment

by:leonstryker
ID: 11765489
Has anything changed in your enviroment recently?  New installs, drive remappings, new software?  If not have you tried writting a small sample application to connect the database?

If all else fails, show us some code.

Leon
0
 

Author Comment

by:jasonFoxPro
ID: 11766895
There hasn't been any changes and I able to connect to the database. Was wondering since I work with access and can export data to excel if getting the latest office update or something could resolve this error. Also does anybody know if setting the page timeout for higher values (10s or something) can affect this.
0
 
LVL 29

Accepted Solution

by:
leonstryker earned 250 total points
ID: 11767203
>>Also does anybody know if setting the page timeout for higher values (10s or something) can affect this

Sure, you are loosing the connection, which is likely happening because you are timing out.  You should check to see if you have an active connection before you issue any dabase commands.

Leon
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

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…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

831 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