Main menu

Error loading type library/DLL (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY))


Well well.. here is another headache for those who automate office:

System.InvalidCastException: Unable to cast COM object of type ‘System.__ComObject’ to interface type ‘Microsoft.Office.Interop.PowerPoint.Application’. This operation failed because the QueryInterface call on the COM component for the interface with IID ‘{91493442-5A91-11CF-8700-00AA0060263B}’ failed due to the following error: Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY)

note: the application highlighted above could be any office application. after cracking my head, re installing office, and some googling. found out the solution here.

also the post here in MSDN gives some good insight about the problem too.

Hope it helps.

Aneef Fashir (41 Posts)

Software Architect @ Assette, Sri Lanka