?
Solved

The object invoked has disconnected from its clients.

Posted on 2004-08-10
5
Medium Priority
?
1,486 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 1000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
Suggested Courses

764 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