[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

The object invoked has disconnected from its clients.

Posted on 2004-08-10
5
Medium Priority
?
1,505 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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.
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…
Suggested Courses

656 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