Skip to main content
Participating Frequently
July 5, 2011
Question

error: 80040154 InDesign CS5 .net

  • July 5, 2011
  • 1 reply
  • 2648 views

When I attempt to instantiate the Indesign.Application (or ApplicationClass) object I get the following error.  What does this mean?  Did I miss a setup step?

Retrieving the COM class factory for component with CLSID {296CAEB5-C99C-4B3E-9359-6E7D6EAE71FC} failed due to the following error: 80040154.

This topic has been closed for replies.

1 reply

John Hawkinson
Inspiring
July 5, 2011

Try regenerating the TLB (type library) as discussed by Chuck Weger in Re: InDesign 7.0 breaks Visual Basic reference.

Also running InDesign as Administrator.

Participating Frequently
July 5, 2011

Thanks, John, for the quick reply.

I tried Deleting the .tlb from both locations:  (in users\mark\AppData\Adobe .... and ProgramData ... Then ran InDesign as administrator.  It replaced both files (and both show up in the add references dialog), but I get the same results.  I tried using VS10 and got almost the same response, but with a little added information that may be helpful:

Retrieving the COM class factory for component with CLSID {296CAEB5-C99C-4B3E-9359-6E7D6EAE71FC} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).

I get this (not surpisingly each regardless which of the two references I use -- I would expect them to be identical)

Thanks,

John Hawkinson
Inspiring
July 5, 2011

I'd suggest spending some time with google.

http://social.msdn.microsoft.com/forums/en-US/vbgeneral/thread/88a6ea68-f476-4231-822f-27fabe59f458/

offers a wide variety of potential causes for the '0154 error, and suggestsa bunch of things like making sure you're using 32-bit mode and not 64-bit mode (ID is not a 64-bit app), and hunting through the registry. Good luck with that.