Solved

The object invoked has disconnected from its clients.

Posted on 2004-08-10
5
1,425 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

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…
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…
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…
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…

828 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