Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server DTS
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #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
Default

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! ;)
Jeff


  #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
Default

Jeff,
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...
Lee


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





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