Solved

Does anyone know where this error comes from : method '~' of object '~' failed

Posted on 2006-06-22
4
937 Views
Last Modified: 2008-01-09
This is the strangest and hardest error to track down that I have run across. It happens in at random times in different applications I have written, running on different machines, and finally compiled on different systems. The only thing that is common to all is that all the apps where written in VB6. Is this bug in VB6 itself ? Anyone have any clue what could produce this error or even better how to troubleshoot and solve it ??

This is the exact error:

Run-time error '2147024832 (80070040)':

Method '~' of object '~' failed

Any ideas ?
0
Comment
Question by:exptech
[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
4 Comments
 
LVL 22

Expert Comment

by:cookre
ID: 16965395
0
 
LVL 22

Accepted Solution

by:
cookre earned 500 total points
ID: 16965410
0
 
LVL 5

Expert Comment

by:Davidshc76
ID: 16965822
You really need to provide more information.  The code causing the error
would be helpful.  But give either or both of these a shot:

PRB: Improper Installation of MDAC May Return Error Message "Method '~' of
Object '~' Failed" at Run Time with ADO Application
http://support.microsoft.com/default.aspx?scid=kb;en-us;255986&Product=vb6

PRB: Error -2147467259 (80004005) When Visual Basic Client Calls a Method on
a COM Object
http://support.microsoft.com/default.aspx?scid=kb;en-us;318519&Product=vb6
0
 

Author Comment

by:exptech
ID: 16967967
I took a look at the some of the different apps that are producing the error. Each one is using ADO, so I do believe that both of you are more than likely correct. I have not had the time to actually read each article in detail and try the fixes, but I will in the next day or so. Thanks for the help and point to come shortly !
0

Featured Post

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

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

A short article about problems I had with the new location API and permissions in Marshmallow
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Six Sigma Control Plans
Introduction to Processes

729 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