dbTalk Databases Forums  

Save DTS package as VB code

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Save DTS package as VB code in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Steve Waldner
 
Posts: n/a

Default Save DTS package as VB code - 08-15-2003 , 05:44 PM






Does anyone know of a code sample or third party object to programmatically
save a dts package to VB code like you can from the DTS Designer? I'd rathe
rnot write my own scripter.

Thanks,
Steve Waldner



Reply With Quote
  #2  
Old   
kghott
 
Posts: n/a

Default Re: Save DTS package as VB code - 11-06-2003 , 11:06 AM







Ok, so you create the DTS from Enterprise Manager and create this VB
application. It works like a charm on your computer. So you package it
and install it on another computer and you go through and register all
of the DLLs. The user runs the application and you get Run-time Error
'-2147221005 (800401f3)': Invalid Class String



What else does the other computer need to run this? Do I have to install
Enterise Manager on their computer? I hope not.



Thanks for any help.


--
Posted via http://dbforums.com

Reply With Quote
  #3  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Save DTS package as VB code - 11-06-2003 , 03:47 PM



If you've registered all the dlls and placed in the correct directories etc
then you may be seeing this

Service Pack and Version Compatibility Problems
(http://www.sqldts.com/default.aspx?223)

--
--

Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org

"kghott" <member47354 (AT) dbforums (DOT) com> wrote

Quote:
Ok, so you create the DTS from Enterprise Manager and create this VB
application. It works like a charm on your computer. So you package it
and install it on another computer and you go through and register all
of the DLLs. The user runs the application and you get Run-time Error
'-2147221005 (800401f3)': Invalid Class String



What else does the other computer need to run this? Do I have to install
Enterise Manager on their computer? I hope not.



Thanks for any help.


--
Posted via http://dbforums.com



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.