dbTalk Databases Forums  

Issue executing a package using the dtexec utility

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


Discuss Issue executing a package using the dtexec utility in the microsoft.public.sqlserver.dts forum.



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

Default Issue executing a package using the dtexec utility - 01-11-2010 , 05:01 PM






Hello,

I have created a package that loops through multiple folders and inserts
(the file path and name) of any new files within these folders into a
tracking table. When I run this package manually through BIDS it works
correctly. This package needs to be run every morning so I created a SQL
Server Agent Job that runs dtexec.exe /file “<path>\package.dtsx” in the
command line. When I run this, it completes successfully but doesn’t run the
Execute SQL task which calls a stored procedure to insert data into the
tracking table.

I have another package that is almost exactly the same as the above package,
except for a different file type, which successfully completes the whole
process when ran using the dtsexec utility. I have compared these two
packages and each task appears to be exactly the same, so I’m not sure if it
is a particular task or the dtexec utility that is causing the problems.

I hope this makes sense and any help would be greatly appreciated.

Thank you,

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.