Solved

DTS not running in job - SQL 2008

Posted on 2010-08-24
2
987 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
Comment Utility
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
Comment Utility
I resolved it by giving modify permissions to SQL agent service account to c:\program files\microsoft sql server\80\tools\
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
In this article I will describe the Detach & Attach method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
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.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

771 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now