dbTalk Databases Forums  

DTS Job failure

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss DTS Job failure in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jorge
 
Posts: n/a

Default DTS Job failure - 06-23-2005 , 09:19 AM







Hello,

Inicialy i had created a job to transfer all objects between 2 servers (that
failed) , then i created 2 new jobs one that transfer all stored procedures
(that's work) and another to transfer all tables (that's fails)

I get the following error :

Executed as user: ARES\SYSTEM. ...n OnStart: Copy Data from acessos to
[dinefer].[dbo].[acessos] Step DTSRun OnStart: Copy Data from
acessos_por_grupo to [dinefer].[dbo].[acessos_por_grupo] Step DTSRun
OnStart: Copy Data from acessos2 to [dinefer].[dbo].[acessos2] Step DTSRun
OnStart: Copy Data from actividades to [dinefer].[dbo].[actividades] Step
DTSRun OnProgress: Copy Data from acessos2 to [dinefer].[dbo].[acessos2]
Step; 1000 Rows have been transformed or copied.; PercentComplete = 0;
ProgressCount = 1000 DTSRun OnProgress: Copy Data from acessos2 to
[dinefer].[dbo].[acessos2] Step; 2000 Rows have been transformed or copied.;
PercentComplete = 0; ProgressCount = 2000 DTSRun OnProgress: Copy Data
from acessos_por_grupo to [dinefer].[dbo].[acessos_por_grupo] Step; 255 Rows
have been transformed or copied.; PercentComplete = 0; ProgressCount = 255
DTSRun OnFinish: Copy Data from acessos_por_grupo to
[dinefer].[dbo].[acessos_por_grupo] Step ... Process Exit Code 60. The step
failed.

Any suggestion of what's might be causing the failure, thanks.

Kind Regards
Jorge Cavalheiro


Reply With Quote
  #2  
Old   
PaulaPompey
 
Posts: n/a

Default RE: DTS Job failure - 06-23-2005 , 10:21 AM






Have you looked at the DTS log file rather than the job log file? This will
give you better/clearer information on where it's failing.
Where the error file is and what it's called is specified in DTS Package
Properties under the Logging tab

"Jorge" wrote:

Quote:
Hello,

Inicialy i had created a job to transfer all objects between 2 servers (that
failed) , then i created 2 new jobs one that transfer all stored procedures
(that's work) and another to transfer all tables (that's fails)

I get the following error :

Executed as user: ARES\SYSTEM. ...n OnStart: Copy Data from acessos to
[dinefer].[dbo].[acessos] Step DTSRun OnStart: Copy Data from
acessos_por_grupo to [dinefer].[dbo].[acessos_por_grupo] Step DTSRun
OnStart: Copy Data from acessos2 to [dinefer].[dbo].[acessos2] Step DTSRun
OnStart: Copy Data from actividades to [dinefer].[dbo].[actividades] Step
DTSRun OnProgress: Copy Data from acessos2 to [dinefer].[dbo].[acessos2]
Step; 1000 Rows have been transformed or copied.; PercentComplete = 0;
ProgressCount = 1000 DTSRun OnProgress: Copy Data from acessos2 to
[dinefer].[dbo].[acessos2] Step; 2000 Rows have been transformed or copied.;
PercentComplete = 0; ProgressCount = 2000 DTSRun OnProgress: Copy Data
from acessos_por_grupo to [dinefer].[dbo].[acessos_por_grupo] Step; 255 Rows
have been transformed or copied.; PercentComplete = 0; ProgressCount = 255
DTSRun OnFinish: Copy Data from acessos_por_grupo to
[dinefer].[dbo].[acessos_por_grupo] Step ... Process Exit Code 60. The step
failed.

Any suggestion of what's might be causing the failure, thanks.

Kind Regards
Jorge Cavalheiro


Reply With Quote
  #3  
Old   
Jorge
 
Posts: n/a

Default RE: DTS Job failure - 06-23-2005 , 11:25 AM



Hello Paula
I looked at the log file and found several errors similar to one below :

Error: -2147467259 (80004005); Provider Error: 2627 (A43)

Error string: Violation of PRIMARY KEY constraint
'PK_actividades_pro_1__55'. Cannot insert duplicate key in object
'actividades_pro'.

Error source: Microsoft OLE DB Provider for SQL Server

Help file:



Help context: 0


Shouldn't the dts recreate the tables on destination and then copy all the
rows?

Regards
Jorge

"PaulaPompey" wrote:

Quote:
Have you looked at the DTS log file rather than the job log file? This will
give you better/clearer information on where it's failing.
Where the error file is and what it's called is specified in DTS Package
Properties under the Logging tab

"Jorge" wrote:


Hello,

Inicialy i had created a job to transfer all objects between 2 servers (that
failed) , then i created 2 new jobs one that transfer all stored procedures
(that's work) and another to transfer all tables (that's fails)

I get the following error :

Executed as user: ARES\SYSTEM. ...n OnStart: Copy Data from acessos to
[dinefer].[dbo].[acessos] Step DTSRun OnStart: Copy Data from
acessos_por_grupo to [dinefer].[dbo].[acessos_por_grupo] Step DTSRun
OnStart: Copy Data from acessos2 to [dinefer].[dbo].[acessos2] Step DTSRun
OnStart: Copy Data from actividades to [dinefer].[dbo].[actividades] Step
DTSRun OnProgress: Copy Data from acessos2 to [dinefer].[dbo].[acessos2]
Step; 1000 Rows have been transformed or copied.; PercentComplete = 0;
ProgressCount = 1000 DTSRun OnProgress: Copy Data from acessos2 to
[dinefer].[dbo].[acessos2] Step; 2000 Rows have been transformed or copied.;
PercentComplete = 0; ProgressCount = 2000 DTSRun OnProgress: Copy Data
from acessos_por_grupo to [dinefer].[dbo].[acessos_por_grupo] Step; 255 Rows
have been transformed or copied.; PercentComplete = 0; ProgressCount = 255
DTSRun OnFinish: Copy Data from acessos_por_grupo to
[dinefer].[dbo].[acessos_por_grupo] Step ... Process Exit Code 60. The step
failed.

Any suggestion of what's might be causing the failure, thanks.

Kind Regards
Jorge Cavalheiro


Reply With Quote
  #4  
Old   
PaulaPompey
 
Posts: n/a

Default RE: DTS Job failure - 06-24-2005 , 06:15 AM



Sounds like your DTS is not recreating the tables. Make sure you have set
it up to drop existing tables if they already exist before trying to create
them. Alternatively, truncate the tables before inserting data - this will
clear all data and reset any autoidentity fields. The error you are getting
indicates that the primary key contraints are stopping the insert, ie it is
trying to insert a duplicate value where no duplicates are allowed.

"Jorge" wrote:

Quote:
Hello Paula
I looked at the log file and found several errors similar to one below :

Error: -2147467259 (80004005); Provider Error: 2627 (A43)

Error string: Violation of PRIMARY KEY constraint
'PK_actividades_pro_1__55'. Cannot insert duplicate key in object
'actividades_pro'.

Error source: Microsoft OLE DB Provider for SQL Server

Help file:



Help context: 0


Shouldn't the dts recreate the tables on destination and then copy all the
rows?

Regards
Jorge

"PaulaPompey" wrote:

Have you looked at the DTS log file rather than the job log file? This will
give you better/clearer information on where it's failing.
Where the error file is and what it's called is specified in DTS Package
Properties under the Logging tab

"Jorge" wrote:


Hello,

Inicialy i had created a job to transfer all objects between 2 servers (that
failed) , then i created 2 new jobs one that transfer all stored procedures
(that's work) and another to transfer all tables (that's fails)

I get the following error :

Executed as user: ARES\SYSTEM. ...n OnStart: Copy Data from acessos to
[dinefer].[dbo].[acessos] Step DTSRun OnStart: Copy Data from
acessos_por_grupo to [dinefer].[dbo].[acessos_por_grupo] Step DTSRun
OnStart: Copy Data from acessos2 to [dinefer].[dbo].[acessos2] Step DTSRun
OnStart: Copy Data from actividades to [dinefer].[dbo].[actividades] Step
DTSRun OnProgress: Copy Data from acessos2 to [dinefer].[dbo].[acessos2]
Step; 1000 Rows have been transformed or copied.; PercentComplete = 0;
ProgressCount = 1000 DTSRun OnProgress: Copy Data from acessos2 to
[dinefer].[dbo].[acessos2] Step; 2000 Rows have been transformed or copied.;
PercentComplete = 0; ProgressCount = 2000 DTSRun OnProgress: Copy Data
from acessos_por_grupo to [dinefer].[dbo].[acessos_por_grupo] Step; 255 Rows
have been transformed or copied.; PercentComplete = 0; ProgressCount = 255
DTSRun OnFinish: Copy Data from acessos_por_grupo to
[dinefer].[dbo].[acessos_por_grupo] Step ... Process Exit Code 60. The step
failed.

Any suggestion of what's might be causing the failure, thanks.

Kind Regards
Jorge Cavalheiro


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.