﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 7,2000 / SQL Server Agent  / local package with batch file not running when using job / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Wed, 19 Jun 2013 04:23:55 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: local package with batch file not running when using job</title><link>http://www.sqlservercentral.com/Forums/Topic651380-110-1.aspx</link><description>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\GPSTART Dynamics.exe Dynamics.set LoginGP.macHow can I solve this?</description><pubDate>Thu, 05 Feb 2009 20:34:36 GMT</pubDate><dc:creator>mel-1009375</dc:creator></item><item><title>local package with batch file not running when using job</title><link>http://www.sqlservercentral.com/Forums/Topic651380-110-1.aspx</link><description>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</description><pubDate>Thu, 05 Feb 2009 20:17:10 GMT</pubDate><dc:creator>mel-1009375</dc:creator></item></channel></rss>