Tuesday, January 25, 2011

Error System.Runtime.InteropServices.COMException (0x80040154)

I got an error while working with an outlook plugin application. The error messages is:

System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {29AB7A12-B531-450E-8F7A-EA94C2F3C05F} failed due to the following error: 80040154.

And the solution for this is to register the redemption dll by using the command regsvr32 and then provide the location of the dll. For example

regsvr32 "D:\Redemption.dll"

Hope this will solve the problem.

No comments:

Post a Comment