• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1510
  • Last Modified:

The object invoked has disconnected from its clients.

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
jasonFoxPro
Asked:
jasonFoxPro
  • 2
1 Solution
 
leonstrykerCommented:
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
 
jasonFoxProAuthor Commented:
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
 
leonstrykerCommented:
>>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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now