Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Error while executing DTS package in SQL server agent Expand / Collapse
Author
Message
Posted Wednesday, July 10, 2013 9:24 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Wednesday, July 10, 2013 9:20 AM
Points: 1, Visits: 1
Hi


i have a DTS package which runs successfully if done manually . I tried scheduling in SQL server 2000 Agent .I belong to the Sysadmin Role. When i run the job , it fails with the following error

Executed as user: NC006DEVD08D\SYSTEM. ...t: DTSStep_DTSActiveScriptTask_1 DTSRun OnFinish: DTSStep_DTSActiveScriptTask_1 DTSRun OnStart: DTSStep_DTSExecuteSQLTask_1 DTSRun OnFinish: DTSStep_DTSExecuteSQLTask_1 DTSRun OnStart: DTSStep_DTSActiveScriptTask_2 DTSRun OnError: DTSStep_DTSActiveScriptTask_2, Error = -2147220482 (800403FE) Error string: Error Code: 0 Error Source= Microsoft VBScript runtime error Error Description: Permission denied Error on Line 70 Error source: Microsoft Data Transformation Services (DTS) Package Help file: sqldts80.hlp Help context: 4500 Error Detail Records: Error: -2147220482 (800403FE); Provider Error: 0 (0) Error string: Error Code: 0 Error Source= Microsoft VBScript runtime error Error Description: Permission denied Error on Line 70 Error source: Microsoft Data Transformation Services (DTS) Package Help file: sqldts80.hlp Help contex... Process Exit Code 1. The step failed.


i am new to SQL server agent . i think the job is running using an incorrect account .i want to execute the Job using the NT Windows account . How can we do that ??
Post #1472201
Posted Wednesday, July 10, 2013 10:52 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Wednesday, April 2, 2014 8:05 AM
Points: 285, Visits: 334
Hi
There are a few common problems you might encounter when you run DTS packages as scheduled jobs in SQL Agent:

Relative Path - A relative path (or drive letter) is specific to the current location of the package, unless the referenced files are also moved to the server, the package execution fails.

COM Components in ActiveX Scripts - Microsoft ActiveX Data Objects are called in an ActiveX script, the called components must exist on the computer from which the DTS package is being run. If the package is scheduled to be run by SQL Agent, the called components must be loaded on the SQL Server.

Mapped Drives -If the package relies on the physical location of a file designated by a mapped drive letter, the package may fail when it is run as a scheduled SQL Agent job. SQL Agent is a Windows NT service and Windows NT services cannot see mapped drive letters, use UNC path.

Br.
Mike
Post #1472251
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse