Transfer Objects Between Two Servers

Sep 9, 1999

Hi ALL,

I transferred objects of one to the other database from a development server to a production server using Database / Object Transfer tool in SQL Server 6.5. I found some of stored procedures and views didn’t go from the development server to the production server. I am wondering if there is a bug in SQL Server 6.5 (with SP5a) or I did something wrong.

Does someone know what is this problem?

Thanks in advanced,

Stella Liu
Express - The Limited Inc.
614-415-4446
Sliu@express.style.com

View 1 Replies


ADVERTISEMENT

Transfer/Objects

Jul 26, 2000

Hi,
I am in the process of upgrading database in sql server 6.5 to 7.0.
For that i am following one computer upgrade.
For creating dev environment in my computer i am using Transfer/Objects in 6.5
for transferring database from remote(production) computer to my computer.

Do i need only to transfer Userdatabase alone or do i need to Transfer Master and other ?
Or Is it better to restore dump ?


Thanks

View 4 Replies View Related

Transfer Of Objects

Aug 3, 1998

This should be simple. I am transfering one database from box A to the same database structure on box B. Straight transfer with the transfer utility. All objects, all defaults. The problem is that now, not all the objects are transfering. There are about 20 tables that are not being populated. The table gets dropped and recreated, but not populated. There is plenty of disk space and the log is empty. (or so reported) Why are not all the tables going over. I can manually repopulate the tables and no problems. ANY hints are greatly appreciated.

Thanks,
Peter Cwik

View 3 Replies View Related

How To Transfer All Objects

Mar 30, 2015

I have an upgrade to do from Sql-Server 2005 to Sql Server 2014. how I would do the upgrade! Should I install 2014 on another box or the same box (or do I just upgrade over the 2005 version - which seems risky)? How do I transfer all of the objects from 2005 to 2014? I'm referring to the tables/ sprocs/ views/ etc already on 2005?

View 9 Replies View Related

Transfer Objects With DTS Fails

May 3, 2000

Hello,

I have some trouble with a couple DTS package transfering table contents using "Transfer Objects" from one server to another. Every other night they fail, without leaving any error messages in either the SQL Server Log, NT Event Log or SQL Agent Log.

The server running DTS is a 7.0 SP1, and it transfers data to and from other servers running 7.0 without any service packs.

Brgds

Jonas Hilmersson

View 1 Replies View Related

Transfer Sql Server Objects

Jul 23, 2007

Is there a way to set up the "Transfer SQL Server objects" task and have it dynamically copy of certain tables/data? I see the TablesList values in the "Objects to copy" section and I'm seeing it can be an expression (which I can assign a variable too), but what value is that string if you have multiple tables?






Thanks,

Phil

View 8 Replies View Related

Transfer Sql Objects Error

Mar 29, 2007

Hi all,

I'm trying to copy all tables (including indexes, triggers, etc) from one db to another using the transfer sql server object task.

I seem to able copy small amounts of tables (sometimes), but when I select ALL the tables, I get this handy error:

"The requested objects failed to transfer"

I had a few problems when trying to copy certain tables that had foreign keys, but that's sort of expected: you can't stick a key onto a table that references another table that doesn't exist!

I get this error when trying to copy a few tables that do have keys.
There are no primary or candidate keys in the referenced table 'Table1' that match the referencing column list in the foreign key 'FK_Table2_Table1'

Now, Table1 does have primary key on the source, but it seems to want to create the foreign key on Table_2 before the primary key on Table_1 has been created!

My Task is setup with the following:

IncludeExtendedProperties = True
DropObjectsFirst = False
CopySchema = True
IncludeDependentObjects = True

All the Table options (copy indexes etc) are set to True

I have SP2 installed

What am I doing wrong?

thanks

Michal

View 5 Replies View Related

Transfer Database Objects & Data 6.5 To 7.0

May 22, 2000

What is the best approach when transferring all database objects & data from a SQL Server 6.5 database to SQL Server 7.0 database running on different servers.

Thanks in adavance for your tips
Cheers,
Phil

View 1 Replies View Related

SqlServer2005: Transfer Sql Server Objects

Dec 2, 2006

I'm looking for help in getting the Transfer Sql Server Objects task to work. The goal is to transfer the tables, views, sprocs,udfs from a SqlServer 2000 database to a Sql Server 2005 database.When I set the task up and run it, it fails complaining about an invalid foreign key relation. The relation in question is valid,and used in the current production environment under SS2000, so I think the real problem is something else. I've seen reports thatthis kind of error occurs when the Transfer task encounters a foreign key involving a table that hasn't been transferred yet.As an aside, this kind of transfer worked flawlessly under Enterprise Manager when I used the DTS Wizard to move the objects betweentwo instances of SqlServer2000. Unfortunately, Enterprise Manager doesn't appear to work with SqlServer2005.Any help and/or pointers would be greatly appreciated (including other strategies on how to affect the transfer -- I tried using theTransfer Database task, too, but it failed when it supposedly couldn't find the path on the target server -- I say supposedlybecause it was able to find the path in order to delete the pre-existing files on the target server)!- Mark

View 4 Replies View Related

SSIS SQL Server Transfer Objects

Aug 8, 2007

Hi,
i have a ssis package that copies a database using online method of the database transfer task. I realize that this task does not copy my keys and indexes, therefore i went and used the SQL Transfer Object Task which would transfer my keys and indexes, but does not copy the default value of a column, is there something i need to change/turn on for this to work ?

Thanks,

Christopher

View 1 Replies View Related

Error In Transfer SQL Server Objects

Jun 15, 2007

Hi ,

i am copying objects from one DB to other usign Transfer SQL Server Objects Task. i am getting this error



[Transfer SQL Server Objects Task] Error: Execution failed with the following error: "ERROR : errorCode=-1073548784 description=Executing the query "DROP TABLE [dbo].[testCopy] " failed with the following error: "Cannot drop the table 'dbo.testCopy', because it does not exist or you do not have permission.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.helpFile= helpContext=0 idofInterfaceWithError={8BDFE893-E9D8-4D23-9739-DA807BCDC2AC}".





it is true that object doesnt exist on the destination. but i want it to see if the object is there then drop otherwise just copy the object there,



Regards,

Haroon

View 1 Replies View Related

Transfer SQL Server Objects Task: Nothing Happens

Aug 23, 2006

Hello,

I am trying to copy a subset of tables, stored procedures, and views from one database to another database on a named instance of SQL Server 2005. I am attempting to use the Transfer SQL Server Objects task in Integration Services.

I am able to create both Source and Destination connections, and specify the objects I want to transfer. When I run the package, the task turns yellow while it's processing, then green when it completes.

At this point, no objects have been transferred to my destination database. No tables, no procs, no views, nothing. No error has been generated. No information is written to an SSIS log file, other than the fact that objects are being transferred, and then the package is finished.

Does this have something to do with the fact that I'm using a named instance of SQL Server 2005?

Thanks,

Ken

View 7 Replies View Related

Transfer SQL Server Objects Errors

May 2, 2006

Hi. I'm totally new to SSIS (SP1), and I'm having a raft of troubles transferring DB's using the 'Transfer SQL Server Objects Task', which seems to be the closest replacement for the old DTS Transfer Objects tool.

I'm trying to transfer a DB from an SQL Server 2000, where I only have SQL Server authentication (it's a shared hosting environment) to my local SQL Server 2005 server, where I'm logged in using Windows Authentication (although I have the same issues if I use SQL Authentication locally).

Here's the list of errors I'm getting.
If I don't select 'copy all tables', I receive a "table does not exist at source" error. If I do copy all tables, suddenly it can find the same table.If I select "Drop objects first", and the object doesn't exist in the destination, in throws an error.The "replace data" doesn't appear to work - it throws a "cannot insert duplicate key" error if the table I'm copying already contains data.If I copy Primary Keys, and one of the tables doesn't have a primary key, I get a "set identity" error, presumably because it's trying to set an ID on that table at the destination.Finally, if I delete all data at the destination, I'm currently receiving a "Invalid character value for cast specification". Which I don't get at all - why is it casting at all, if it's copying objects - they should be identical on both sides?Any and all suggestions would be really appreciated. I'm also having (different) problems transferring objects between SQL Server 2005 servers, but nothing in production, so it's less important.

Cheers,

Steve.

View 6 Replies View Related

Transfer SQL Server Objects Task

Jan 16, 2008

Hi all,


I am using SSIS Transfer SQL Server Objects Task to copy all the objects of a database to another without the data. The properties that i have set for this task is as:


DropObjectsFirst = True
IncludeExtendedProperties = True
CopyData = false
CopySchema = True
UseCollation =True
IncludeDependentObjects = True

CopyAllObject = False
CopyAllTables = True
CopyAllViews = True
CopyAllStoredProcedures = True
CopyAllUserDefinedFunctions = True
CopyAllDefaults = True
CopyAllUserDefinedDataTypes = True
CopyAllPartitionFunctions = True
CopyAllPartitionSchemes = True
CopyAllSchemas = True
CopyAllSqlAssemblies = True
CopyAllUserDefinedAggregates = True
CopyAllUserDefinedTypes = True
CopyAllXMLSchemaCollections = True

CopyIndexes = True
CopyTriggers = True
CopyFullTextIndexes = True
CopyPrimaryKeys = True
CopyForeignKeys = True

All the security options are set to false.

When I execute this task, it fails (with the errorCode=-1073548784) at a point where it tries to create a table which is inside a schema, because the script for creating the table is executed before creating the schema. So, if have a table [Person].[Employee], the script "Create Table [Person].[Employee]" gives an error


The specified schema name "Person" either does not exist or you do not have permission to use it.
It cannot be a permission related issue as am using the sa account to connect to both the source and the destination.
Hence, I conclude that the SSIS task here tries to copy the table first without creating the schema and so the excution fails.

Is this a bug in SSIS? or am missing anything? and what can be the workaround this?

View 3 Replies View Related

Transfer SQL Server Objects Task

Jun 2, 2006

Hi,

When i'm trying to transfer SQL Server Objects from a SQL Server 2000 Database to another i got the following error: [Transfer SQL Server Objects Task] Error: Table "bank" does not exist at the source.

This just appens in some spcific situations:

- When i select the tables i want to transfer, using the option "CopyAllTables" it works fine;

- When i use specific instance as source. Using the Development machine as source it works fine, when i use the machine from Pre-Production (the one i whant to use) it doesn't .

Can anyone tell me why does this appens!?

 

Thanks,

Vítor Ferreira

View 3 Replies View Related

Transfer SQL Server Objects Task - Problems

Apr 23, 2007

Hello all,



A little background... I have a 25GB database (called DevDB) that my co-workers use for SQL development. The data in this database isn't important and all I really need are the SQL objects. So instead of doing a database backup, which includes the data as well, I was planning on just copying the database objects to another database called DevObjects (on the same server) and backing it up instead. This is SQL 2005 SP2.



I've created an IS package and have 3 items...



1. Check for existance and drop DevObjects database. This is to eliminate the need for dropping the objects first. Successful.

2. Create a new database DevObjects. Successful.

3. Transfer SQL Server Objects Task. Fails.



My transfer objects task is setup like this:




The connections are to the same server, source db: DevDB, destination db: DevObjects.



DropObjectsFirst: False

IncludeExtendedProperties: True

CopyData: False

CopySchema: True

UseCollation: True

IncludeDependendObjects: True



CopyAllObjects: True



CopyDatabaseUsers: True

CopyDatabaseRoles: True

CopySqlServerLogins: False

CopyObjectLevelPermissions: True



CopyIndexes: True

CopyTriggers: True

CopyFullTextIndexes: True

CopyPrimaryKeys: True

CopyForeignKeys: True

GenerateScriptsInUnicode: True



I get an error trying to create a login that's not even in the database I am trying to copy the objects from. Since this is the same server, the login is already there.



Is there a way to not copy the server logins (so that CopyAllObjects works)?







Anyway, I got past that error by changing CopyAllObjects to False and setting all the subgroups to True. Now, I get an error creating one of the FK's, it seems that the PK it references isn't created first.



Is there a way to force creating the PK's before the FK's?



If I set CopyForeignKeys to False, then it completes successfully, but I need the FK's to be transferred as well. Any ideas?







Does anyone have a better way to accomplish what I'm trying to do?



Thanks in advance.



Jarret

View 4 Replies View Related

Problem With Transfer SQL Server Objects Task

Jun 7, 2006

I have the following problem:

All Sp's and UDF's in one base database have to be compiled into five identical databases located in the same SQL Server in order to keep all those five db's stored procedures synchronized.

I made a simple SSIS package which content one "Transfer SQL Server Objects Task" component.

Hardcoded connection/Source db/Destination db and setup properties as

"Drop object first" = True

"Copy All Stored procedures" = True

"Copy All UDF" = True

Then I executed the Package right from Visual Studio environment and after the substantial thinking finally it show me a green light.

But when I verified the result no Sp's in the destination database were re-compiled/copied from the source database.

Is it kind of bug or I did something wrong ?

Any advice will be appreciated.



View 5 Replies View Related

Simple Objects Transfer From 2000 Db To 2005 Db

Feb 1, 2006

creating a simple package and cant get it to run below is the error. when i check the source 2k db its there see below...

i am clue free of the issus...

SSIS error message

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

source Server DB sysobjects table record

name id xtype uid info status base_schema_ver replinfo parent_obj crdate ftcatid schema_ver stats_schema_ver type userstat sysstat indexdel refdate version deltrig instrig updtrig seltrig category cache
FK_MoreBDRInformation_dbo_BatchDataReports 1618573300 F 1 0 0 0 0 86043838 2006-01-31 12:35:41.530 0 0 0 F 0 11 0 2006-01-31 12:35:41.530 0 0 0 0 0 0 0

View 1 Replies View Related

SSIS Transfer SQL Server Objects Task

Jan 30, 2006

What is the security requirement for running this task? I have no problem running this taks as a system administrator but all my users who are in the db_dtsltduser cannot run the same task successfully. They are DBOs in both databases involded in the task. Thank you in advance for your help.

View 2 Replies View Related

Login Dropped By Transfer Objects Task

Feb 27, 2007

Hello all :)
First, sorry for my english but I don't practice everday
So,
I'm a new user of Microsoft SQL 2005 and I'm testing some functionalities in SSIS.

I used the Transfer Objects Task to copy one database to another.
The both db's are on the same instance.

I chose these options for the transfer

-SourceConnection : My_Instance
-SourceDatabase : My_DB
-DestinationConnection : My_Instance
-DestinationDatabase : CopyOfMy_DB
-DropObjectsFirst = True
-IncludeExtendedProperties = Fasle
-CopyData = True
-ExistingData = Replace
-CopySchema = True
-UseCollation = True
IncludeDependentObjects =False
CopyAllObjects = True

The others options are set on FASLE

When I execute the package, I got an error message, the logins are dropped. I cannot connect to the database engine, even with my admin account.
I have to restore the master database !

So my question is : why this SSIS task drop all the logins in sql server in place of just copy one database??????

What's the solution for this problem?

Thanks for your comments !

Matt

View 2 Replies View Related

Transfer SQLServer Objects Task Failure

Jan 10, 2008



I have written an SSIS package with a Transfer SQLServer Objects task which I want to use to copy database objects from a SQL Server 2000 database to SQL Server 2005.

When I run this task, I find the following error:

[Transfer SQL Server Objects Task] Error: Execution failed with the following error: "Version80 database compatibility level is not supported


Is there a way around this aside from changing the compatibility level of my SQL Server 2005 database?

Any help is much appreciated.

View 5 Replies View Related

Known Error With Transfer SQL Server Objects Task...

Jan 23, 2007

https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=127100



I don't believe that the fix to the above issue has made its way into an SP yet. Can anyone confirm/refute this, and/or state when the fix will become publicly available &/or give a workaround?



Thanks,



Tamim.

View 3 Replies View Related

Another Problem With Transfer SQL Server Objects Task

Jul 2, 2007

Hi everyone,

I'm currently having some trouble with the "Transfer SQL Server Objects Task".
All I wanna do is to copy a simple database from one server (SQL2000) to another one (SQL2005).

A small excerpt from my settings:

DropObjectsFirst: true
ExistingData: Replace
All table options are set to true
.
No matter what I do the package always appends the data from the source to the destination database.

Is this a bug or am I missing something ?

Thanks in advance,
Kevin

View 2 Replies View Related

Trouble With Transfer SQL Server Objects Task

Feb 28, 2007

I am struggling to copy a 2000 DB to 2005 using transfer sql server objects task.

I can get it to work, but without the foreign keys, which I also need.

When also copying the foreign keys, I get the following message:"



[Transfer SQL Server Objects Task] Error: Execution failed with the following error:

"ERROR : errorCode=0 description=There are no primary or candidate keys in the referenced

table 'SVS' that match the referencing column list in the foreign key 'FK_WRM_SVS_WRM_SVS'.

helpFile= helpContext=0 idofInterfaceWithError={8BDFE893-E9D8-4D23-9739-DA807BCDC2AC}".



Apparently, SQL tries to create a foreign key on the WRM table, while the primary key on SVS is not there yet.

Since it used to work in 2000, I am pretty sure I am doing something wrong. I can harldy believe this is by design.

(By the way, the CopyAllSchemas is set to True).

Can anyone please help?



Regards,

Pipo

View 3 Replies View Related

Problem With Transfer SQL Server Objects Task

Mar 9, 2007

Hello,

I am using the Transfer SQL Server Objects Task to copy Stored Procedures from one DB to another. I quite painfully discovered the problems with using the "DropObjectsFirst" flag in that if you set it to true and the object does not exist in the destination DB, SSIS throws a "Object does not exist" error. If you set it to false and the object exists at the destination DB, SSIS throws a "Object already exists" error. Sort of a catch 22 problem, so I decided to use a Data Flow task to build a Recordset of SP names that were common between the Source and Destination DB's and then feed that to a For Each task to drop the existing SP's from the destination DB before running the "Transfer SQL Server Objects" task.

So the problem is that I am getting 3 SP's copied over to the destination DB that do not exist on the source DB. If I delete all SP's on the destination DB and run the package it works fine the first time, when I run the package again, I get an "Object already exists" error at the destination DB for one of the SP's that don't exist on the source DB.

To explain the details of how I am building the list of SP names to be dropped, my Data Flow Task uses 2 DataReaders with a query to sys.objects to get a list of SP's from both DB's. This is then fed to the required Sort transforms and into a "Merge Join" Transform (Joint Type = Inner Join). The Merge Join Transform output is then passed to a RecordSet Destination variable.

When I query the source DB sys.objects, I can see all the SP's that were copied to the destination DB EXCEPT these 3 SP's. All the other SP's are successfully dropped on subsequent executions of the package except these 3. One of the 3 SP's (...Yardrequest...) does exist on the Source server (sort of) but when it gets copied over to the destination server, the Case of the name gets changed (only 1 letter in the middle of the name) to "...YardRequest...". I can't believe SQL is smart enough to capitalize each word in a SP name let alone what reasoning there could possibly be for doing such a thing.

Any ideas on where these 3 SP's are coming from?

My gut is telling me the DB got hosed somehow and therefore the Transfer SQL Objects Task is somehow seeing these addtional SP's that a simple query on the sys.objects view does not see. Not knowing how the "Transfer SQL Server Objects" task works internally (what queries it uses to identify what objects will be transferred from the source DB), I am not able to figure out where these SP's are located in the DB tables or views. Any pointers would be helpful. Thanks

View 20 Replies View Related

Question About Transfer SQL Server Objects Task

Sep 19, 2007

I was wondering if there could be a race condition when using the Transfer SQL Server Objects Task to copy all tables from an online database.

I'm thinking of a scenario that while the copy task is executing, 2 different tables are updated in the online copy, with one new row each, and the new rows are linked by a key. Could it happen that when these values are inserted, one table has already been copied so the new value doesn't make it over, but the second table hasn't yet been copied so its new value does make into the destination (thereby breaking the relationship)? Or does this task take care of the details automatically?

Thanks!

View 3 Replies View Related

Problem With Transfer SQL Server Objects Task

Apr 5, 2007

Hi everyone,

I'm currently trying to copy a database from one server to another (both SQL2005) using Business Intelligence Development Studio.
I've created an SSIS package. The following parameters are defined:

DropObjectsFirst true
IncludeExtendedProperties true
CopyData true
ExistingData Replace
CopySchema false
UseCollation false
IncludeDependentObjects true
CopyPrimaryKeys true
CopyForeignKeys true

The package fails with the following error:
Violation of PRIMARY KEY constraint 'PK_tblCallStatus' Cannot insert duplicate key in object 'dbo.tblCallStatus'

I know what that error means but I don't understand why I get it.
Isn't the package supposed to completely overwrite the destination database ?
It obviously does not. When I manually delete all records from 'tblCallStatus' in the destination database it works fine. I can't remember I had to do that in a SQL2000 environment using DTS.

Hope anyone can help since this is almost driving me nuts ;-)

Thanks in advance,
Kevin

View 10 Replies View Related

Transferring Objects Between Sql Servers

Feb 2, 2006

Transferring objects between sql servers having db created using different usernames :

We have a local sql2000 db created using username abc, and another SQL2000db at a remote location where we have hosted our database. In our remotelocation the db username is ourdomain. How do we transfer
all objects from local db created using username abc to remote db created using ourdomain.? Is it possible to exclude usernames while transferring objects between sql servers?? Please help

K006b

View 2 Replies View Related

Simplest Transfer SQL Server Objects Task Failure

Feb 17, 2007

I'm perplexed and in need of a sanity check ...

Instance of SQL2K5-SP1 on Server2003R2. Created two databases Test1 and Test2, create single 2-column table (tblTest)in Test1 with one row of data. Create SSIS package to transfer the table and its data to database Test2 using "Transfer Objects Task". Fails with error code 1073548784.

I have tested for security issues and don't beleive these to be the cause: I have monster privelidges and can successfully use SSIS packages to execute CREATE TABLE etc.

Have also tried most combinations of Task options (eg COPY ALL OBjects etc etc)

Have tried this on three different servers: same results.

This simple test is the result of distilling down problems I'm having with SSIS manipulating some 60G within some 300 tables, so I'd really like to use the power this task promises!

My head is getting a little sore from scratching - any advice gratefully received.



Thanks

View 6 Replies View Related

Transfer SQL Server Objects Task Doesn't Work

Apr 24, 2006

Source Database: SQL Server 2000

Destination Database: SQL Server 2005

No matter what table, view, or stored proc I pick, it always says that it doesn't exist at the source. I know it exists because I am picking it from the list of tables, etc. that the GUI provides.

Any suggestions?

Jonathan Allen

View 1 Replies View Related

Copy Data And Objects Between SQL Servers

Mar 23, 2006

I have recently moved from a Microsoft SQL Server 2000 to a SQL Server
2005.


In the good old Enterprise Manager, when I imported a table from a SQL
server to another, I could choose "Copy objects and data between SQL
Server
databases". When choosen, all primary keys, and default values was
copied.


My question is:
Is it possible to do the same in Microsoft SQL Server Management Studio
with
SQL Server 2005? And how do I do it?


I have tried using the "SELECT * INTO NewTable FROM OldTable"
statement, but
it just drops all information about primary keys and default values.


Best Regards

View 1 Replies View Related

Copy Objects And Data Between SQL Servers

Feb 21, 2008

I want to migrate from one machine to another is it wise to use SSIS "Copy Objects and Data Between SQL Servers" task to accomplish this....migration both data and metadata (in master,model,and msdb ) databases?

View 1 Replies View Related

Transfer SQL Server Objects Task Doesn't Work With Schemas

May 31, 2006

The task has a fault if you try to copy a table with a schema like [test].[table1]

The error says

Error: 0xC002F363 at Flyt til DM, Transfer SQL Server Objects Task: Table "table1" does not exist at the source.

Even though i just selected it from the table list minutes before.

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved