473,554 Members | 2,268 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to run dtsrun in c# console application

Hi all,

to run a DTS package you run dtsrun in the command prompt. It worked
fine. But how to run dtsrun in c# console application?

Thanks a lot

*** Sent via Developersdex http://www.developersdex.com ***
Dec 15 '05 #1
1 2346
See:

System.Diagnost ics.Process.Sta rt("c:\path_to_ dts_run");

"TaeHo Yoo" <yo******@yahoo .com> wrote in message
news:uA******** *****@tk2msftng p13.phx.gbl...
Hi all,

to run a DTS package you run dtsrun in the command prompt. It worked
fine. But how to run dtsrun in c# console application?

Thanks a lot

*** Sent via Developersdex http://www.developersdex.com ***

Dec 15 '05 #2

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

Similar topics

1
6010
by: Adam Augusta | last post by:
In a Multi Server Job under SQL Server Agent (MSX), we have a series of steps like: DTSRun /~Z0x8E8635E6BBA... The ~Z means it's an encrypted hexidecimal string. The person who created this step is no longer accessible, and the string can't be trivially decrypted, so I don't know what this runs. Someone once mentioned that I could go...
1
9214
by: JimA | last post by:
I have an application that needs to execute dtsrun from a remote machine. Basically I have a batch file on the remote box, which handles the execute. This works fine on a machine with client tools installed. My problem is that I can't install the client tools on the remote box. Does anyone know what I need to install on the remote machine...
0
3259
by: Kris | last post by:
Hi All, I am getting error message when Running DTS package through Scheduler. The message is "DTSRun.Exe Application error -The Instruction as 0x77f7dd66e referenced memory At 0x30373534. The memory could not be written, Click OK to terminate the Application"
1
5874
by: m3ckon | last post by:
Hi, I'm writing a stored procedure to run a dts package and I've successfuly got this working using my sotred proc and the syntax of dtsrun is correct. However, I'm trying to pass a variable to the DTSrun command and this is where I'm having the problem the code for the proc is:
2
3194
by: lyn.duong | last post by:
Hi, I've got this dts package in sql server 2000 sp4 that has several transformation tasks with an oracle database (10g) as the destination. The package executes successfully when run through the dts designer but when run using dtsrun, I get the following error at the completion of all tasks in the dts package. The data inserts into the...
1
2305
by: Kevin | last post by:
when I run the following in sql Analyzer : dtsrun /S"Local" /Ntestemail /UExternalRO /P"changmail" got this error: Server: Msg 170, Level 15, State 1, Line 1 Line 1: Incorrect syntax near '/'. Is the command right?And how to run this dts package in commandline? Thanks
5
5820
by: mike | last post by:
I have a question. I am doing some work for someone and I have a batch file that they can run that will execute an OSQL line and a DTSRUN line. In both lines I run them using the /S /U /P switches and of course the /N or /i switch to tell it what to run. I have also tried replacing the /U /P switches with the /E switch. My problem is...
5
8614
by: Brian Peasland | last post by:
I am trying to get a DTS package to be run from the command line with the dtsrun utility. The DTS package is stored in the database. The user I supply is a user in the database. I get an error stating "SQL Server does not exist or access denied." It looks to me like the SQL Server instance does exist because it tries to start the package. I...
0
1959
by: David Greenberg | last post by:
Hi We use Sql 2000. I have a user that I want to be able to run a bat file with the DTSRUN command in it on a remote computer. What happens now is that she runs the bat file , reads the DTSRUN command but doesn't do anything with it and continues in the bat file. What privilege do I need to give her so that she can run DTSRUN ? Right...
0
7535
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...
0
8051
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...
0
7894
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6161
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...
0
3579
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...
0
3561
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2026
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
1
1145
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
850
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.