SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


local package with batch file not running when using job


local package with batch file not running when using job

Author
Message
mel-1009375
mel-1009375
Forum Newbie
Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)

Group: General Forum Members
Points: 6 Visits: 37
Hi,

I'm encountering a problem when I use batch file in local package and run this as job. I created a local package using the execute process task with the batch file (contains script where it will open an application automatically) attached to it. When I execute this local package manually, the batch file works. But when I scheduled it nothing happens. The application in the batch file doesn't open. How can I solve this?

thanks,

mel
mel-1009375
mel-1009375
Forum Newbie
Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)

Group: General Forum Members
Points: 6 Visits: 37
Hi,

During the scheduled run this error appears:
'DTSRun.exe - Application error : The application failed to initialize properly (0xc0000142). Click on OK to terminate the application.'

The batch file contain the following script:
CD C:\Program Files\Microsoft Dynamics\GP
START Dynamics.exe Dynamics.set LoginGP.mac

How can I solve this?
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search