Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2007-11-16
2
5,905 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Viewers will learn how the fundamental information of how to create a table.

840 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