Scott
Scott

Reputation:

Windows Service COM error?

I've written a Windows service in C# that runs fine on XP, but when I install it on server 2008 I get the following error:

Retrieving the COM class factory for component with CLSID 
{20A80B2B-6D69-40B7-A66A-D63C60B4878C} failed due to the following error: 80040154.

Anyone know what this is about?

Upvotes: 1

Views: 719

Answers (3)

Scott
Scott

Reputation:

The problem was I had a third party DLL that had to be registered in Windows. Errr...

Upvotes: 1

R Ubben
R Ubben

Reputation: 2204

Googling the class id brings up "tidyatl.dll" - part of a DICOM viewer, right? You will need that application installed on the 2008 server you are running the service on. The C# service has a dependency on it.

Upvotes: 1

Michael
Michael

Reputation: 55405

80040154 is ERROR_CLASS_NOTREGISTERED, so you should start by debugging your installer and verifying that it is writing the correct values into the registry.

Upvotes: 1

Related Questions