473,806 Members | 2,346 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Creating a DTS package

I've created a DTS package and now I need to distribute it to
different servers.

I've been looking for a way to automatically/programatically create a
DTS package, but have not found anything definite.

From the DTS package itself, I see where I can save the dts package as
a structured file, with the name XXXXX.dts. Once I have that DTS
file, how dow I turn it back into a dts package in Enterprise manager?
I don't want to have to manually create the package for 300+
servers...

Thanks,
Jennifer
Jul 20 '05 #1
1 5890
You can load a DTS structured storage file from EM by right-clicking on
the Data Transformation Services folder and selecting Open Package. You
can then select Package --> Save As in order to save it locally.

This can be a bit tedious if you have a lot of servers. The VBScript
example below will load your DTS structured storage file and save it to
multiple servers using a trusted connection. See the Books Online for
details.

Dim DtsPackage
Set DtsPackage = CreateObject("D TS.Package2")
DtsPackage.Load FromStorageFile "C:\MyDtsPackag es\MyDtsPackage .dts", ""
DtsPackage.Save ToSqlServer "MyServer1" , , , 256
DtsPackage.Save ToSqlServer "MyServer2" , , , 256
DtsPackage.Save ToSqlServer "MyServer3" , , , 256

Note that you can execute a DTS package directly from a structured
storage file using DTSRUN. If your servers have access to a shared
network location, you could execute the package with a UNC path rather
than saving the package locally on each server.

--
Hope this helps.

Dan Guzman
SQL Server MVP

-----------------------
SQL FAQ links (courtesy Neil Pike):

http://www.ntfaq.com/Articles/Index....partmentID=800
http://www.sqlserverfaq.com
http://www.mssqlserver.com/faq
-----------------------

"Jennifer" <je**********@h otmail.com> wrote in message
news:33******** *************** ***@posting.goo gle.com...
I've created a DTS package and now I need to distribute it to
different servers.

I've been looking for a way to automatically/programatically create a
DTS package, but have not found anything definite.

From the DTS package itself, I see where I can save the dts package as
a structured file, with the name XXXXX.dts. Once I have that DTS
file, how dow I turn it back into a dts package in Enterprise manager?
I don't want to have to manually create the package for 300+
servers...

Thanks,
Jennifer

Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1098
by: yuba | last post by:
I have written an object to handle dealing with fixed and delimited records . Most of the version 1.0 heavy lifting is complete, but I need some help turning the routine into a package and creating the install scripts for windows and *nix. If you want to help with the development of the package (and there's still a lot I want to do), please get in touch. Look for it on sourceforge; the project name is pyDataSegment. If someone can...
3
8382
by: Pattnayak | last post by:
Hi, I want to create a DTS package programatically (preferably in C#.net),which will copy all my tables from a oracle database to my sql-server database. Can anybody help me doing this??? Thanks Patnayak
0
1068
by: Chris Warr | last post by:
Hi, I have a VB6 COM dll compiled on an NT 4 sp6a server installed in an MTS package. I've exported this package to a windows 2000 machine where I've created a .net application and added a reference to the exported object. When I run the application it fails creating the object with an 'Access Denied' error. Is what I'm doing possible? ie. Creating objects compiled in NT4 and exported to Win2k? Thanks, Chris.
2
343
by: jcooper | last post by:
Hi all, I'm new to VB.net and have a question about creating the .exe file for my program. In VB6 you could just select 'Make .exe' from the File menu, but everything that I read about deploying an application in VB.net talks about creating an installer file. The application I created is very small (just a sample) and I don't want the user to have to install the program, just run an executable. Is there any way to do this in VB.net? ...
2
3336
by: Rajesh Tammana | last post by:
Hi, I am trying to create an SMS package using GetPDFData method. When I call this method it returns the PackageData object instance with C# object type ManagementBaseObject. Usually I call Put method on ManagementObject class to create an instance of the object. Since the GetPDFData method returns ManagementBaseObject object I could not call that method.
2
6530
by: Michael.Covington | last post by:
I am trying to create a DTS package using C#. I have done this in VB6 without any problems. However, when I convert everything over to C# I get the 'System.InvalidCastException'. I am running windows 2000, SQL 2000 sp3a. I have also followed the instructions in using DTS provided by "http://sqldev.net/DTS/dotnetcookbook.htm". The error is occurs at this line: DTS.DataPumpTask DT = (DTS.DataPumpTask)package.Tasks.New...
1
991
by: muthukumaran.1982 | last post by:
I have developed a vb.net project. Everything went smooth. but matter comes when creating a package. I have created as setup project for my project. When I try to install it to a system that has no .net framework it shows error " You Must have .net frame work...." Something it show. How to i create a package to install it in a system that has no .net frame work. Please Help Me.Its very urgent.. Thanks in Advance Regards,
3
5057
by: =?Utf-8?B?U3VzYW4=?= | last post by:
I am attempting to create an installation package for a 64 bit system with Visual Studio 2005. The machine on which I am compiling and creating the package is also 64 Bit. I have the 64 Bit .Net 2.0 Framework SDK along with the 64 Bit version of Oracle Client, and 64 Bit version of Oracle ODAC installed on the development machine. I have verified that I have MSI version 3 on the system as well. When I choose to compile for the 64 Bit...
3
7431
Kelicula
by: Kelicula | last post by:
This is NOT a complete OO perl tutorial However I thought it could be beneficial to explain some of the basic concepts, and allow some users to simplify the software design process. I have found it to be extremely useful and beneficial to create my own "custom" modules. It (among many other things) allows you to type less. Or to make your keystrokes matter more, however you look at it. (If you do even look at it.) Things the reader...
0
9597
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10366
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10371
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9187
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7649
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6877
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5546
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4329
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3850
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.