Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

DTS not running in job - SQL 2008

Posted on 2010-08-24
2
Medium Priority
?
1,010 Views
Last Modified: 2013-11-10
Hi,
After migrating server from SQL 2000 to SQL 2008 we also copied the DTS  packages and scheduled them in SQL agent job via DTSRUN.

one of the package fails which I cannot seem to get to work from SQL agent however if I execute it from command promt with the same DTSRUN cmd, it works. Here's the error from job:

Executed as user: SRVSQL\sqlaccservice. DTSRun:  Loading...   DTSRun:  Executing...   DTSRun OnStart:  DTSStep_DTSTransferObjectsTask_1   DTSRun OnProgress:  DTSStep_DTSTransferObjectsTask_1; Scripting objects for Transfer; PercentComplete = 0; ProgressCount = 0   DTSRun OnProgress:  DTSStep_DTSTransferObjectsTask_1; Scripting objects for Transfer; PercentComplete = 0; ProgressCount = 0   DTSRun OnError:  DTSStep_DTSTransferObjectsTask_1, Error = -2147221504 (80040000)      Error string:  Invalid OLEVERB structure         Error source:  Microsoft Data Transformation Services (DTS) Package      Help file:  sqldts80.hlp      Help context:  1100      Error Detail Records:      Error:  -2147221504 (80040000); Provider Error:  0 (0)      Error string:  Invalid OLEVERB structure         Error source:  Microsoft Data Transformation Services (DTS) Package      Help file:  sqldts80.hlp      Help context:  1100         Error:  -2147221504 (80040000); Provider Error:  0 (0)      Error string:  Invalid OLEVERB structure         Error source:  Microsoft Data Transformation Services (DTS) Package      Help file:  sqldts80.hlp      Help context:  5700         Error:  -2147467259 (80004005); Provider Error:  0 (0)      Error string:  [SQL-DMO]CreateFile error on 'destinationServer.database.LOG'.       Error source:  Microsoft SQL-DMO      Help file:  SQLDMO80.hlp      Help context:  1132      DTSRun OnFinish:  DTSStep_DTSTransferObjectsTask_1   DTSRun:  Package execution complete.  Process Exit Code 1.  The step failed.

Thanks in advance for your help!
0
Comment
Question by:Rainbow002
2 Comments
 
LVL 12

Accepted Solution

by:
mcv22 earned 2000 total points
ID: 33509378
Might be related to permissions. Make sure that the SQL agent service account has appropriate permissions on the source and destination locations.
0
 

Author Closing Comment

by:Rainbow002
ID: 33509411
I resolved it by giving modify permissions to SQL agent service account to c:\program files\microsoft sql server\80\tools\
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question