all groups > sql server dts > january 2006 >
You're in the

sql server dts

group:

SSIS Transfer Objects Task fails silently between 2 SQL2005 DBs


SSIS Transfer Objects Task fails silently between 2 SQL2005 DBs Noel Weichbrodt
1/5/2006 2:25:05 PM
sql server dts:

Good evening,
I'm working with two sql2005 databases on the same server. I would like
to copy the stored procs, views, and udfs from one to another, dropping any
duplicates on the destination side. To do this, I created an Integration
Services Transfer Objects Task in Visual Studio 2005, set what seemed to be
the suitable properties, and let it go.
The first time, it failed with a "foreign key not applied"-type error
(not the exact phrase). I modified the settings so that CopySchema was false
and CopyAllSchemas was true, and tried again. This lets the task run, with a
looooong pause (~9 minutes) between beginning and ending, but fails to modify
anything in the destination db.
This is strange. Anyone know what is going on? TIA.

Re: SSIS Transfer Objects Task fails silently between 2 SQL2005 DBs Allan Mitchell
1/5/2006 2:59:03 PM
Hello Noel,

What was the "foreign key not applied"-type error exactly ?

Have you run profiler at the same time to see what is happening?

Allan


[quoted text, click to view]

Re: SSIS Transfer Objects Task fails silently between 2 SQL2005 DB Noel Weichbrodt
1/6/2006 7:50:13 AM
Thanks for your reply, Allan.

[quoted text, click to view]

"[Transfer SQL Server Objects Task] Error: Execution failed with the
following error: "ERROR : errorCode=0
description='FK_empMain_empHRInfo' is not a
constraint. helpFile= helpContext=0
idofInterfaceWithError={8BDFE893-E9D8-4D23-9739-DA807BCDC2AC}"

[quoted text, click to view]

Which profiler? I'm not too familiar with the new environment in either
VS2005 or SQLSMS.

[quoted text, click to view]
Re: SSIS Transfer Objects Task fails silently between 2 SQL2005 DB Allan Mitchell
1/7/2006 3:51:10 AM
Hello Noel,


SQL Server Profiler it is the Performance tools directory in your SQL Server
Program files directory


It will tell you what the task is trying to do.

Looks initially as though what is maybe happening is that the task is trying
to alter a constraint that has not yet been applied ('FK_empMain_empHRInfo')

Allan



[quoted text, click to view]

Re: SSIS Transfer Objects Task fails silently between 2 SQL2005 DB Noel Weichbrodt
1/9/2006 1:37:51 PM
Thanks. I will check out exactly what is happening.

I am still confused by this error, though. The lack of documentation as
to what the SSIS Copy Object settings for schema copying in the
included Help files is appalling! The task should not be attempting to
alter any constraints. All that it should be doing is copy a set of
UDFs, SPs, and Views from one place to another.

This exact same thing was easily done, with no errors, using SQL
Management Studio Copy Objects wizard.

Finally, there's no excuse for taking > 9 minutes to fail off of a
schema-related error. I'm not impressed with this DTS replacement at
all. Microsoft should be falling over themselves to release an update
for SSIS and the related docs.
AddThis Social Bookmark Button