Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > SQL Server > SQL Server DTS
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
SQL Server DTS Discussion specific to Data Transformation Service with SQL Server. General SQL Server discussions should use the general SQL Server forum. Readers of the book Professional SQL Server 2000 DTS with questions specific to that book should post in that book forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server DTS section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 22nd, 2003, 08:02 AM
Friend of Wrox
Join Date: Sep 2003
Location: Salisbury, Wiltshire, United Kingdom.
Posts: 155
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to leehambly
Default Running and pausing exe's from DTS Package

I'm trying to build a DTS package that runs a win32 executable. (not designed by me). This package looks at data, puts the data through a processor and assigns a code to each line item before exporting it all out to a csv file which I will then reimport to the server... (hope this makes sense) The .exe file has default file locations (for source data) which it auto loads before I run it. However, when I run the DTS package it tells me that the source file locations are not found and it falls over. I wonder if it needs some kind of time delay... however, I would not have even the first idea about how to do this, or what parameters to put in... any help at this stage would be greatly appreciated... thank you in advance
Lee Hambly
  #2 (permalink)  
Old September 22nd, 2003, 09:39 AM
Authorized User
Join Date: Jul 2003
Location: Clearwater, FL, USA.
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts

Have you tried using a batch file to make sure that your DTS package has access to the files that the EXE is trying to use? It may be that the user id that SQL Server is running the xp_cmdshell under doesn't have rights to the directory where the input files are located.

Good Luck! ;)

  #3 (permalink)  
Old September 22nd, 2003, 10:15 AM
Friend of Wrox
Join Date: Sep 2003
Location: Salisbury, Wiltshire, United Kingdom.
Posts: 155
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to leehambly

Cheers but I have no idea about writing batch files for this kind of thing, though have asked the company who made the exe... had started thinking about that road, but was hoping (as I have no idea about writing batch files!) that there would be a much simpler way forward... like keystroke 'X' means pause for input or something..?
Cheers again...

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Running DTS package through Execute SQL / pkg Task sthekk SQL Server DTS 1 April 23rd, 2007 11:18 AM
Running stand alone DTS package Dhodie SQL Server DTS 0 September 5th, 2005 02:23 AM
Check Multiple running Instance of DTS Package greenash SQL Server DTS 0 January 3rd, 2005 09:33 AM
Running DTS package from withing a stored proc flaco SQL Server DTS 2 July 27th, 2004 05:34 PM
Running Exe's on another PC Duncan Allen Pro VB.NET 2002/2003 1 October 21st, 2003 04:02 AM

All times are GMT -4. The time now is 06:31 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.