dbTalk Databases Forums  

Copy All Objects

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


Discuss Copy All Objects in the microsoft.public.sqlserver.dts forum.



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

Default Copy All Objects - 03-09-2005 , 02:59 AM






I tried to copy all objects from one SQL Server DB to another. The target DB
was new with nothing but the default sys tables. When I ran the DTS task it
looks like it copied all the tables and then failed with the error shown
below. None of the views or SPs got copied? Any ideas on what causes this?

Wayne

================================
Need to run the object to perform this operation

Code execution exception: EXCEPTION_ACCESS_VIOLATION [SQL-DMO]The Bulk Copy
execution failed.



Reply With Quote
  #2  
Old   
Wayne Wengert
 
Posts: n/a

Default More Information - 03-09-2005 , 03:04 AM






It turns out that all the table structures appear to have been copied but
only a few of the tables have the data?

Wayne

"Wayne Wengert" <wayneDONTWANTSPAM (AT) wengert (DOT) com> wrote

Quote:
I tried to copy all objects from one SQL Server DB to another. The target
DB
was new with nothing but the default sys tables. When I ran the DTS task
it
looks like it copied all the tables and then failed with the error shown
below. None of the views or SPs got copied? Any ideas on what causes this?

Wayne

================================
Need to run the object to perform this operation

Code execution exception: EXCEPTION_ACCESS_VIOLATION [SQL-DMO]The Bulk
Copy
execution failed.





Reply With Quote
  #3  
Old   
Guadalupe Nava
 
Posts: n/a

Default RE: More Information - 03-09-2005 , 12:21 PM



Wayne...

Make sure that acount for the target DB has the right permissions..
If table structure it was written, then use the option
'Copy Objects'>Copy Data>Append Data

This actions put rows inside tables...



"Wayne Wengert" wrote:

Quote:
It turns out that all the table structures appear to have been copied but
only a few of the tables have the data?

Wayne

"Wayne Wengert" <wayneDONTWANTSPAM (AT) wengert (DOT) com> wrote in message
news:eTKpHZIJFHA.3788 (AT) tk2msftngp13 (DOT) phx.gbl...
I tried to copy all objects from one SQL Server DB to another. The target
DB
was new with nothing but the default sys tables. When I ran the DTS task
it
looks like it copied all the tables and then failed with the error shown
below. None of the views or SPs got copied? Any ideas on what causes this?

Wayne

================================
Need to run the object to perform this operation

Code execution exception: EXCEPTION_ACCESS_VIOLATION [SQL-DMO]The Bulk
Copy
execution failed.






Reply With Quote
  #4  
Old   
Guadalupe Nava
 
Posts: n/a

Default RE: More Information - 03-09-2005 , 12:25 PM



I Forget...

If you cant copy views, sp, then take the script and run from Query Analyzer..

Other things, DTS Objects are not copied, you need other ways to put them on
the target server...
Here you have one document from Microsoft abput copy of Databases

http://support.microsoft.com/kb/314546/en-us#3

Salutes..



"Wayne Wengert" wrote:

Quote:
It turns out that all the table structures appear to have been copied but
only a few of the tables have the data?

Wayne

"Wayne Wengert" <wayneDONTWANTSPAM (AT) wengert (DOT) com> wrote in message
news:eTKpHZIJFHA.3788 (AT) tk2msftngp13 (DOT) phx.gbl...
I tried to copy all objects from one SQL Server DB to another. The target
DB
was new with nothing but the default sys tables. When I ran the DTS task
it
looks like it copied all the tables and then failed with the error shown
below. None of the views or SPs got copied? Any ideas on what causes this?

Wayne

================================
Need to run the object to perform this operation

Code execution exception: EXCEPTION_ACCESS_VIOLATION [SQL-DMO]The Bulk
Copy
execution failed.






Reply With Quote
  #5  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Copy All Objects - 03-10-2005 , 12:33 AM



The error is non-descriptive so one of the frequent problems with this
task is transferring local users to a remote box.

Personally though If I want to move a DB lock, stock and barrel I will
use a backup and restore


Allan



"Wayne Wengert" <wayneDONTWANTSPAM (AT) wengert (DOT) com> wrote


Quote:
I tried to copy all objects from one SQL Server DB to another. The target DB
was new with nothing but the default sys tables. When I ran the DTS task it
looks like it copied all the tables and then failed with the error shown
below. None of the views or SPs got copied? Any ideas on what causes this?

Wayne

================================
Need to run the object to perform this operation

Code execution exception: EXCEPTION_ACCESS_VIOLATION [SQL-DMO]The Bulk Copy
execution failed.


Reply With Quote
  #6  
Old   
Wayne Wengert
 
Posts: n/a

Default Re: Copy All Objects - 03-10-2005 , 11:53 AM



Good advice but since we don't own the server it is not an option (we just
have an account with the one DB)

Wayne

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote

Quote:
The error is non-descriptive so one of the frequent problems with this
task is transferring local users to a remote box.

Personally though If I want to move a DB lock, stock and barrel I will
use a backup and restore


Allan



"Wayne Wengert" <wayneDONTWANTSPAM (AT) wengert (DOT) com> wrote in message
news:wayneDONTWANTSPAM (AT) wengert (DOT) com:

I tried to copy all objects from one SQL Server DB to another. The
target DB
was new with nothing but the default sys tables. When I ran the DTS task
it
looks like it copied all the tables and then failed with the error shown
below. None of the views or SPs got copied? Any ideas on what causes
this?

Wayne

================================
Need to run the object to perform this operation

Code execution exception: EXCEPTION_ACCESS_VIOLATION [SQL-DMO]The Bulk
Copy
execution failed.




Reply With Quote
  #7  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Copy All Objects - 03-10-2005 , 12:52 PM



Then why not script it out, apply your scripts then create Datapump
tasks for the data.

Allan

"Wayne Wengert" <wayneDONTWANTSPAM (AT) wengert (DOT) com> wrote


Quote:
Good advice but since we don't own the server it is not an option (we just
have an account with the one DB)

Wayne

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:%23wxYcpTJFHA.1996 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
The error is non-descriptive so one of the frequent problems with this
task is transferring local users to a remote box.

Personally though If I want to move a DB lock, stock and barrel I will
use a backup and restore


Allan



"Wayne Wengert" <wayneDONTWANTSPAM (AT) wengert (DOT) com> wrote in message
news:wayneDONTWANTSPAM (AT) wengert (DOT) com:

I tried to copy all objects from one SQL Server DB to another. The
target DB
was new with nothing but the default sys tables. When I ran the DTS task
it
looks like it copied all the tables and then failed with the error shown
below. None of the views or SPs got copied? Any ideas on what causes
this?

Wayne

================================
Need to run the object to perform this operation

Code execution exception: EXCEPTION_ACCESS_VIOLATION [SQL-DMO]The Bulk
Copy
execution failed.



Reply With Quote
  #8  
Old   
Wayne Wengert
 
Posts: n/a

Default Re: Copy All Objects - 03-11-2005 , 03:08 AM



Allan;

Sounds like a good alternative. Where can I get information on creating
datapump tasks?

Wayne

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote

Quote:
Then why not script it out, apply your scripts then create Datapump
tasks for the data.

Allan

"Wayne Wengert" <wayneDONTWANTSPAM (AT) wengert (DOT) com> wrote in message
news:wayneDONTWANTSPAM (AT) wengert (DOT) com:

Good advice but since we don't own the server it is not an option (we
just
have an account with the one DB)

Wayne

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:%23wxYcpTJFHA.1996 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
The error is non-descriptive so one of the frequent problems with this
task is transferring local users to a remote box.

Personally though If I want to move a DB lock, stock and barrel I will
use a backup and restore


Allan



"Wayne Wengert" <wayneDONTWANTSPAM (AT) wengert (DOT) com> wrote in message
news:wayneDONTWANTSPAM (AT) wengert (DOT) com:

I tried to copy all objects from one SQL Server DB to another. The
target DB
was new with nothing but the default sys tables. When I ran the DTS
task
it
looks like it copied all the tables and then failed with the error
shown
below. None of the views or SPs got copied? Any ideas on what causes
this?

Wayne

================================
Need to run the object to perform this operation

Code execution exception: EXCEPTION_ACCESS_VIOLATION [SQL-DMO]The
Bulk
Copy
execution failed.





Reply With Quote
  #9  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Copy All Objects - 03-11-2005 , 12:38 PM



Have a look here

Building a Package in the DTS Designer
(http://www.sqldts.com/default.aspx?278)

"Wayne Wengert" <wayneDONTWANTSPAM (AT) wengert (DOT) com> wrote


Quote:
Allan;

Sounds like a good alternative. Where can I get information on creating
datapump tasks?

Wayne

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:uO$YxGaJFHA.532 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
Then why not script it out, apply your scripts then create Datapump
tasks for the data.

Allan

"Wayne Wengert" <wayneDONTWANTSPAM (AT) wengert (DOT) com> wrote in message
news:wayneDONTWANTSPAM (AT) wengert (DOT) com:

Good advice but since we don't own the server it is not an option (we
just
have an account with the one DB)

Wayne

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:%23wxYcpTJFHA.1996 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
The error is non-descriptive so one of the frequent problems with this
task is transferring local users to a remote box.

Personally though If I want to move a DB lock, stock and barrel I will
use a backup and restore


Allan



"Wayne Wengert" <wayneDONTWANTSPAM (AT) wengert (DOT) com> wrote in message
news:wayneDONTWANTSPAM (AT) wengert (DOT) com:

I tried to copy all objects from one SQL Server DB to another. The
target DB
was new with nothing but the default sys tables. When I ran the DTS
task
it
looks like it copied all the tables and then failed with the error
shown
below. None of the views or SPs got copied? Any ideas on what causes
this?

Wayne

================================
Need to run the object to perform this operation

Code execution exception: EXCEPTION_ACCESS_VIOLATION [SQL-DMO]The
Bulk
Copy
execution failed.




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 - 2013, Jelsoft Enterprises Ltd.