Article ID: 255986 - Last Review: May 17, 2007 - Revision: 3.3 PRB: Improper Installation of MDAC May Return Error Message "Method '~' of Object '~' Failed" at Run Time with ADO ApplicationThis article was previously published under Q255986 SYMPTOMS When you attempt to run simple ActiveX Data Objects (ADO)
code in an application, the following error can occur:
"Method '~' of Object '~' Failed" CAUSE The most common cause for this error is mismatched DLL
files with Microsoft Data Access Components (MDAC). RESOLUTION To work around this problem:
MORE INFORMATION Although this error has not been consistently reproduced,
the items in the "Resolution" section appear to be effective in correcting the
problem. The preceding error is only one of the ways that mismatched DLLs may manifest themselves. A different error may occur. The component checker mentioned in the Resolution section will help determine if there are mismatched DLLs. REFERENCESFor additional information regarding MDAC installation, click
the article numbers below to view the articles in the Microsoft Knowledge Base:
232060
(http://support.microsoft.com/kb/232060/EN-US/
)
HOWTO: MDAC Setup Troubleshooting Guide
217754
(http://support.microsoft.com/kb/217754/EN-US/
)
HOWTO: Control Which MDAC Version the Package and Deployment Wizard (PDW) Distributes
APPLIES TO
| Article Translations
|
Back to the top
