Windows 7 - I get a message "Run Time Error -2147024769 (8007007f) when loading an app.

Asked By Jim Mathews on 28-May-14 01:22 PM
A call to the support folks for the app and they suggested either a registry cleaner or restoring my system to an earlier version.   When I try to restore, I see no restore points.  I removed and reinstalled the application and receive the same message.  All of my other apps seem to be working fine.  Thanks for any help.
Robbe Morris replied to Jim Mathews on 28-May-14 01:32 PM
This is often indicative on one or more COM dependencies in that app getting hosed up.  A recent windows update is probably the culprit.  Support most likely asked you to do a system restore to deal with this.  MDAC (Microsoft Data Access Components) in older apps are most likely to blame.  It is also why they asked you to do a reinstall hoping that it would overwrite whatever change has been made on your system to these dependencies.  Sometimes that works.  Sometimes it doesn't.

You could try reregistering MDAC again.

http://kb.swiftkit.net/question-automation-error.html
Jim Mathews replied to Robbe Morris on 28-May-14 01:37 PM
Thanks Robbe, I'll take a look at the link you provided.
Jim Mathews replied to Robbe Morris on 28-May-14 02:55 PM

I get this message on when trying to register the msader15.dll file   "The module "c:\program files\common files\system\ado\msader15.dll" was not found.  Make sure that "c:\program files\common files\system\ado\msader15.dll" is a valid DLL or OCX file and then try again."

Robbe Morris replied to Jim Mathews on 28-May-14 03:00 PM
Do  a search for that dll.  The path may be C:\Program Files (x86)
Jim Mathews replied to Robbe Morris on 28-May-14 05:05 PM
Thanks again.  I found the file and ran the command but rec'd the same message.  I looked at the properties of the file and it was located in c:\windows\system32, created in 2003 and last accessed in 2008.  
Robbe Morris replied to Jim Mathews on 28-May-14 07:36 PM
Clear your system and application event logs.  then, go launch your software application again.  The event log may hold the specific dll that is hosed.  Then, check the event log right after the error.
Jim Mathews replied to Robbe Morris on 28-May-14 10:33 PM
Sorry to be a pita but how do I clear both the system and event logs?  Lots of info on the net, but I want to make certain that I don't delete the wrong file(s).  Thanks again for all of your help.
Jim Mathews replied to Robbe Morris on 29-May-14 06:04 AM
I think I found it - under event viewer I can see the two logs you reference.  Each log has well over 60000 entries, with many errors.  By right clicking on each log, I can clear them.  Is that what you would like me to do?
Robbe Morris replied to Jim Mathews on 29-May-14 08:23 AM
yes, do this right before you launch your problematic app.  This just makes it easier to identify the error.  Often times, when apps crash like this, the app/windows operating system will write a much more detailed reason as to why.
Jim Mathews replied to Robbe Morris on 29-May-14 11:06 AM

Cleared both logs and tried to run the app.  Same problem.  Looked at the System Log and saw an error.  Error message was:



The Windows Management Instrumentation service terminated with the following error:


The system cannot find the file specified. 


I thought maybe the shortcut on the desktop had a problem, but I still can't run the app from the apps directory.

Robbe Morris replied to Jim Mathews on 29-May-14 11:24 AM
Sorry, I can't tell you where to go from here without the event log telling us more.  I can only speculate.  These COM issues are typically MDAC related or the Visual C++ redistributable has been corrupted (f'd up by a Microsoft update).