Joe Morgan
Joe Morgan

Reputation: 1771

COM class factory error

I've been testing an application using my machine as a server, and everything's going fine with it, but when I try to set it up to run on the test server, I get this error:

Retrieving the COM class factory for component with CLSID {XXXX} failed due to the following error: 80040154.

Any ideas?

Thanks

Upvotes: 1

Views: 942

Answers (3)

gyrolf
gyrolf

Reputation: 3872

We encountered this error sometimes with MSXML 4, especially when doing installation tests.

Resolution: deinstall and reinstall MSXML.

Upvotes: 1

HS.
HS.

Reputation: 2615

The error code translates to "class not registered".

Registering is usually done with "regsvr32 " when it is a DLL or via " /RegServer".

To avoid the described error message, please register on client and server.

Upvotes: 1

ChaosSpeeder
ChaosSpeeder

Reputation: 3508

First: Please check on your test server the registration of your com objects.

HKEY_CLASSES_ROOT\CLSID\{xxxx}

Check, if your dll or exe file is on the correct location on the hard drive.

Second: This link may help: http://support.software602.com/kb/view.aspx?articleID=987

Upvotes: 2

Related Questions