Solved

DTS not running in job - SQL 2008

Posted on 2010-08-24
2
996 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 500 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB.net and sql server 4 36
SQL Error - Query 6 26
Replace the integer portion in CAST with a column 4 16
SQL Function NOT ROUND 9 11
If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

831 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