Solved

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

Posted on 2007-11-16
2
5,894 Views
Last Modified: 2012-06-27
I am building a Windows Service with a Filewatcher which will move some files to different locations when dropped in a particular folder. Then, using the Microsoft DTS Object Library, it runs a DTS package on a network SQL Server (2000).
I can get this to run fine on my computer, which HAS SQL Tools on it.
BUT - I can NOT get it to fire the DTS package without the error in the title, if it's on another server. The other server DOES NOT Have any SQL tools or databases on it.
The Interop package was successfully created in VS.net 2005, and the installer successfully installs both the Interop version and the orginal dtspkg.dll, along with the DTS.dll.

The full error is:
Retrieving the COM class factory for component with CLSID {10020200-EB1C-11CF-AE6E-00AA004A34D5} failed due to the following error: 80040154.

I guess the first and main question is  - How can I fix this?
the second one is to ask: To be able to use this on another server, will SQL Server tools need to be installed, to make it work?
0
Comment
Question by:dwier
2 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 500 total points
ID: 20315397
Well, the error code is

//
// MessageId: REGDB_E_CLASSNOTREG
//
// MessageText:
//
//  Class not registered
//
#define REGDB_E_CLASSNOTREG              _HRESULT_TYPEDEF_(0x80040154L)

Maybe http://www.ureader.com/message/594379.aspx or http://support.microsoft.com/kb/326909 can help.
0
 

Author Closing Comment

by:dwier
ID: 31409650
Adding more components to Installation package was the fix (via this link: http://www.ureader.com/message/594379.aspx)
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question