Retrieving the COM class factory for component with CLSID {} failed due to the following error: 8007007e

Sometime working with MS Access in Visual Studio 2008, or run a website (ASP.NET), we meet a error like that :

Retrieving the COM class factory for component with CLSID {} failed due to the following error: 8007007e

A lot of reasons about this error ! I am not sure my reason like yours, however I hope this post will have you to find out and fix this problem.

First, copy the CLSID, example : C8B522D0-5CF3-11CE-ADE5-00AA0044773D

Second, go to regsitry (Start \ Run \Regedit <ENTER>) , go to key HKEY_CLASSES_ROOT and use Find function (CTRL-L)  to search the your CLSID.

After that, expand the key, choose InprocServer32 and view in the right window at Default. You will see the path of DLL file.

Finally, check and make sure the file is existed.

In my problem, I use Windows 7 Enterprise and after I installed it, I moved the Common Files folder from C: to D: and when I working with MS Access file in VS 2008, error ocurred !

2 Responses to “Retrieving the COM class factory for component with CLSID {} failed due to the following error: 8007007e”

  • Microwave ManualDarchuche says:

    What’s up thanks for your page.I actually love your website.Its quite informative.Nevertheless I really want you to post how you put social bookmarking below your post.I like it simply because it’s a quite thoroughly clean great blogger mod.
    thank you very much

  • Your webpage is definitely full of great tips and also is actually extremely fun to take a look at.

    Nicely carried out.

  • Leave a Reply:

    Name (required):
    Mail (will not be published) (required):
    Website:

    Comment (required):
    XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">
    CommentLuv Enabled