Solved

System runtime interop.services error running a DTS package from VB.NET 2005 app.

Posted on 2007-03-21
5
3,269 Views
Last Modified: 2013-11-30
I have a vb.net 2005 app that accesses a sql server.  We are using sql sqerver 2005 and the computers have windows xp sp2 on them.  When the app gets to a procedure that runs a dts package I get the following error:

System runtime interop.services.comexception (0x80040154):Retrieving the COM Class factory component with CLSID {10020200-EB1C-11CF-AE6E-00AA004A34D5} Failed due to the following error: 80040154, at WindowsApplication1.frmMainForm.RunDTS(etc)

It works on my machine so I am assuming there is something that needs to be installed on the client machine.  Any ideas?
0
Comment
Question by:jamesrbarnes
  • 3
  • 2
5 Comments
 
LVL 5

Expert Comment

by:jef06
ID: 18769577
You might want to do a setup project it will, tell you all the reference needed, and install them.
0
 

Author Comment

by:jamesrbarnes
ID: 18770538
jef06,

I have installed it with a setup project and I still get the error.

Jim
0
 
LVL 5

Expert Comment

by:jef06
ID: 18770553
Did you install Sql Server Enterprise edition on that machine, it might be that if i remember DTS can be use only with that version. Not the express.
0
 

Author Comment

by:jamesrbarnes
ID: 18771435
No, I just installed express.
0
 
LVL 5

Accepted Solution

by:
jef06 earned 500 total points
ID: 18771462
That should be it. try on a machine with enterprise.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

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.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
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.

706 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now