dbTalk Databases Forums  

EXECUTING A PACKAGE FROM A VB. APPLICATION

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


Discuss EXECUTING A PACKAGE FROM A VB. APPLICATION in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Gina Hernandez
 
Posts: n/a

Default EXECUTING A PACKAGE FROM A VB. APPLICATION - 03-22-2005 , 03:58 PM






Hello:

I have a WEB.NET 2003 program service. This service lets me check if a
file exists in the hard disk of the server, if this is true a need to
execute some packages that read text file and bring the information to SQL
tables. Currently, I have structured storage file created, but the problem
is my application needs to b taken to other servers, so the connection
needs to be change!!

My question is, all the time I need to add the reference and add the
C:\Program Files\Microsoft SQL Server\80\Tools\Binn\dtspkg.dll

and follow the steps to create the Strong name key and the wrapper related,
or there's another way to do it???

-How portable can be the packages created as SQL SERVER, I mean if the
database is scripted, are the packages scripted too, as aprt of the objects.

Thanks



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

Default Re: EXECUTING A PACKAGE FROM A VB. APPLICATION - 03-23-2005 , 02:44 PM






DTS packages are portable yes but remember their info will not
dynamically change simply because you moved it so if a connection points
to ServerA whilst the package sits on ServerZ when you move it to
ServerX the package will still be pointing to ServerA


Transferring DTS Packages
(http://www.sqldts.com/default.aspx?204)



"Gina Hernandez" <ginah (AT) wdsinc (DOT) com> wrote


Quote:
Hello:

I have a WEB.NET 2003 program service. This service lets me check if a
file exists in the hard disk of the server, if this is true a need to
execute some packages that read text file and bring the information to SQL
tables. Currently, I have structured storage file created, but the problem
is my application needs to b taken to other servers, so the connection
needs to be change!!

My question is, all the time I need to add the reference and add the
C:\Program Files\Microsoft SQL Server\80\Tools\Binn\dtspkg.dll

and follow the steps to create the Strong name key and the wrapper related,
or there's another way to do it???

-How portable can be the packages created as SQL SERVER, I mean if the
database is scripted, are the packages scripted too, as aprt of the objects.

Thanks


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.