![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
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. --Noel |
#3
| |||
| |||
|
|
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 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. --Noel |
#4
| |||
| |||
|
|
Thanks for your reply, Allan. "Allan Mitchell" wrote: Hello Noel, What was the "foreign key not applied"-type error exactly ? "[Transfer SQL Server Objects Task] Error: Execution failed with the following error: "ERROR : errorCode=0 description=is not a constraint. helpFile= helpContext=0 idofInterfaceWithError={8BDFE893-E9D8-4D23-9739-DA807BCDC2AC}" Have you run profiler at the same time to see what is happening? Which profiler? I'm not too familiar with the new environment in either VS2005 or SQLSMS. Allan 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. --Noel |
#5
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |