![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
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. |
#3
| |||
| |||
|
|
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. |
#4
| |||
| |||
|
|
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. |
#5
| |||
| |||
|
|
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. |
#6
| |||
| |||
|
|
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. |
#7
| |||
| |||
|
|
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. |
#8
| |||
| |||
|
|
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. |
#9
| |||
| |||
|
|
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. |
![]() |
| Thread Tools | |
| Display Modes | |
| |