dbTalk Databases Forums  

Can't schedule Application using DTS

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


Discuss Can't schedule Application using DTS in the microsoft.public.sqlserver.dts forum.



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

Default Can't schedule Application using DTS - 08-25-2004 , 11:41 AM






Hi,

I've created a DTS package which opens a connection
(Microsoft OLE DB Provider) and save a .txt log file
(Text File(Destination)) using the Transform Data Task.
On success it supposed to execute a VB.NET application
(Execute Process Task) which is in the C:\ directory. So
with in the Execute Process Task Properties window I
point (WIN32 process to) to the applications' .exe file
(C:\TestApp\TestApp.exe). My issue is, when I run the
package from the Data Transformation Services it runs
perfect. The txt file is created and the application
executes. But when I schedule the package it seems to
fail. The txt file is created but the application does
not execute (The DTS package, database and application
are located on the same server). Does anyone have any
idea why the application does not execute when
scheduled.

Thanks in Advance.


Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: Can't schedule Application using DTS - 08-25-2004 , 03:05 PM






In message <d47d01c48ac2$51a8ec10$a601280a (AT) phx (DOT) gbl>, Daniel B
<dberezniak (AT) repeatseat (DOT) com> writes
Quote:
Hi,

I've created a DTS package which opens a connection
(Microsoft OLE DB Provider) and save a .txt log file
(Text File(Destination)) using the Transform Data Task.
On success it supposed to execute a VB.NET application
(Execute Process Task) which is in the C:\ directory. So
with in the Execute Process Task Properties window I
point (WIN32 process to) to the applications' .exe file
(C:\TestApp\TestApp.exe). My issue is, when I run the
package from the Data Transformation Services it runs
perfect. The txt file is created and the application
executes. But when I schedule the package it seems to
fail. The txt file is created but the application does
not execute (The DTS package, database and application
are located on the same server). Does anyone have any
idea why the application does not execute when
scheduled.

Thanks in Advance.

Try -

269074 - INF: How to Run a DTS Package as a Scheduled Job
(http://support.microsoft.com/?kbid=269074)

Make sure the VB.Net app has decent error handling and logging of any
failures, and also ensure it has no UI, or any silly things like message
boxes left over from development.


--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org



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.