dbTalk Databases Forums  

Copy Database Wizard Fails to Copy Files

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


Discuss Copy Database Wizard Fails to Copy Files in the microsoft.public.sqlserver.dts forum.



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

Default Copy Database Wizard Fails to Copy Files - 11-30-2004 , 07:17 PM






Running SQL Server 2000 SP3a on Win2000 Server (fully patched).

Trying to get a simple example to work for copying a Test DB (which has one
simple table) on ServerA to ServerB. DB does not exist on ServerB, both
Servers running as services with identical accounts (made administrators; not
Local System).

Everything works fine in the DTS (using default options):
Logins........Ok,
Master.......Ok,
MSDB.......Ok,
Errors......Ok,
<<CDW Database Tasks Fails...detailed steps below:>>
Successfully created the share OMWWIZC........Ok
Begin to copy the database Test...................Ok
Database Test has no active connections.......Ok
Put the database Test in single user mode.......Ok
Try to detach the database Test..............Ok
Successfully detached the database Test......Ok
Failed to copy file \\ServerA\OMWWIZC\Program Files\Microsoft SQL
Server\MSSQL\data\Test_Data.mdf.........Failed
Successfully attached the database Test on source.......Ok
Successfully deleted the share OMWWIZC.........Ok
<<End of CDW trace>>

Cannot get anything to transfer either from ServerA to ServerB or
vice-versa. Constantly getting the same error (Failed to copy file.....)

Help!?!

Regards,

Robert




Reply With Quote
  #2  
Old   
Andrew J. Kelly
 
Posts: n/a

Default Re: Copy Database Wizard Fails to Copy Files - 11-30-2004 , 08:36 PM






Maybe this has the answer: http://www.support.microsoft.com/?id=274463
Copy DB Wizard issues

You may want to consider not using the wizard if you want to copy the entire
DB. There are easier and in my opinion better ways:

http://www.support.microsoft.com/?id=314546 Moving DB's between Servers
http://www.support.microsoft.com/?id=224071 Moving SQL Server Databases
to a New Location with Detach/Attach
http://support.microsoft.com/?id=221465 Using WITH MOVE in a
Restore
http://www.support.microsoft.com/?id=246133 How To Transfer Logins and
Passwords Between SQL Servers
http://www.support.microsoft.com/?id=298897 Mapping Logins & SIDs after a
Restore
http://www.dbmaint.com/SyncSqlLogins.asp Utility to map logins to
users
http://www.support.microsoft.com/?id=168001 User Logon and/or Permission
Errors After Restoring Dump
http://www.support.microsoft.com/?id=240872 How to Resolve Permission
Issues When a Database Is Moved Between SQL Servers
http://www.sqlservercentral.com/scri...p?scriptid=599
Restoring a .mdf
http://www.support.microsoft.com/?id=307775 Disaster Recovery Articles
for SQL Server



--
Andrew J. Kelly SQL MVP


"Robert" <Robert (AT) discussions (DOT) microsoft.com> wrote

Quote:
Running SQL Server 2000 SP3a on Win2000 Server (fully patched).

Trying to get a simple example to work for copying a Test DB (which has
one
simple table) on ServerA to ServerB. DB does not exist on ServerB, both
Servers running as services with identical accounts (made administrators;
not
Local System).

Everything works fine in the DTS (using default options):
Logins........Ok,
Master.......Ok,
MSDB.......Ok,
Errors......Ok,
CDW Database Tasks Fails...detailed steps below:
Successfully created the share OMWWIZC........Ok
Begin to copy the database Test...................Ok
Database Test has no active connections.......Ok
Put the database Test in single user mode.......Ok
Try to detach the database Test..............Ok
Successfully detached the database Test......Ok
Failed to copy file \\ServerA\OMWWIZC\Program Files\Microsoft SQL
Server\MSSQL\data\Test_Data.mdf.........Failed
Successfully attached the database Test on source.......Ok
Successfully deleted the share OMWWIZC.........Ok
End of CDW trace

Cannot get anything to transfer either from ServerA to ServerB or
vice-versa. Constantly getting the same error (Failed to copy file.....)

Help!?!

Regards,

Robert






Reply With Quote
  #3  
Old   
Robert
 
Posts: n/a

Default Re: Copy Database Wizard Fails to Copy Files - 12-01-2004 , 01:07 PM



Thanks for you reply, Andrew...I have seen your suggestions of articles before.

However, I am interested in getting DTS to work. Such a simple example
should not be so difficult. Since its the actual tranfer of the files that
fails, I am wondering if its a permissions problem? What account is used to
create the share, attach to the share from the destination, copy the files,
etc? SQLServerAgent?

Regards,

Robert


"Andrew J. Kelly" wrote:

Quote:
Maybe this has the answer: http://www.support.microsoft.com/?id=274463
Copy DB Wizard issues

You may want to consider not using the wizard if you want to copy the entire
DB. There are easier and in my opinion better ways:

http://www.support.microsoft.com/?id=314546 Moving DB's between Servers
http://www.support.microsoft.com/?id=224071 Moving SQL Server Databases
to a New Location with Detach/Attach
http://support.microsoft.com/?id=221465 Using WITH MOVE in a
Restore
http://www.support.microsoft.com/?id=246133 How To Transfer Logins and
Passwords Between SQL Servers
http://www.support.microsoft.com/?id=298897 Mapping Logins & SIDs after a
Restore
http://www.dbmaint.com/SyncSqlLogins.asp Utility to map logins to
users
http://www.support.microsoft.com/?id=168001 User Logon and/or Permission
Errors After Restoring Dump
http://www.support.microsoft.com/?id=240872 How to Resolve Permission
Issues When a Database Is Moved Between SQL Servers
http://www.sqlservercentral.com/scri...p?scriptid=599
Restoring a .mdf
http://www.support.microsoft.com/?id=307775 Disaster Recovery Articles
for SQL Server



--
Andrew J. Kelly SQL MVP


"Robert" <Robert (AT) discussions (DOT) microsoft.com> wrote in message
news:670DD672-0098-41F3-93DA-492AC1101316 (AT) microsoft (DOT) com...
Running SQL Server 2000 SP3a on Win2000 Server (fully patched).

Trying to get a simple example to work for copying a Test DB (which has
one
simple table) on ServerA to ServerB. DB does not exist on ServerB, both
Servers running as services with identical accounts (made administrators;
not
Local System).

Everything works fine in the DTS (using default options):
Logins........Ok,
Master.......Ok,
MSDB.......Ok,
Errors......Ok,
CDW Database Tasks Fails...detailed steps below:
Successfully created the share OMWWIZC........Ok
Begin to copy the database Test...................Ok
Database Test has no active connections.......Ok
Put the database Test in single user mode.......Ok
Try to detach the database Test..............Ok
Successfully detached the database Test......Ok
Failed to copy file \\ServerA\OMWWIZC\Program Files\Microsoft SQL
Server\MSSQL\data\Test_Data.mdf.........Failed
Successfully attached the database Test on source.......Ok
Successfully deleted the share OMWWIZC.........Ok
End of CDW trace

Cannot get anything to transfer either from ServerA to ServerB or
vice-versa. Constantly getting the same error (Failed to copy file.....)

Help!?!

Regards,

Robert







Reply With Quote
  #4  
Old   
Andrew J. Kelly
 
Posts: n/a

Default Re: Copy Database Wizard Fails to Copy Files - 12-01-2004 , 03:12 PM



Probably is permissions. Although this KB is titled around a scheduled job
it does a pretty good job of outlining how the permissions work:


http://www.support.microsoft.com/?id=269074

And make sure you can copy a regular file from the share on Server A to the
Share on Server B when you are logged in with the proper account.

--
Andrew J. Kelly SQL MVP


"Robert" <Robert (AT) discussions (DOT) microsoft.com> wrote

Quote:
Thanks for you reply, Andrew...I have seen your suggestions of articles
before.

However, I am interested in getting DTS to work. Such a simple example
should not be so difficult. Since its the actual tranfer of the files
that
fails, I am wondering if its a permissions problem? What account is used
to
create the share, attach to the share from the destination, copy the
files,
etc? SQLServerAgent?

Regards,

Robert


"Andrew J. Kelly" wrote:

Maybe this has the answer: http://www.support.microsoft.com/?id=274463
Copy DB Wizard issues

You may want to consider not using the wizard if you want to copy the
entire
DB. There are easier and in my opinion better ways:

http://www.support.microsoft.com/?id=314546 Moving DB's between
Servers
http://www.support.microsoft.com/?id=224071 Moving SQL Server
Databases
to a New Location with Detach/Attach
http://support.microsoft.com/?id=221465 Using WITH MOVE in a
Restore
http://www.support.microsoft.com/?id=246133 How To Transfer Logins
and
Passwords Between SQL Servers
http://www.support.microsoft.com/?id=298897 Mapping Logins & SIDs
after a
Restore
http://www.dbmaint.com/SyncSqlLogins.asp Utility to map logins to
users
http://www.support.microsoft.com/?id=168001 User Logon and/or
Permission
Errors After Restoring Dump
http://www.support.microsoft.com/?id=240872 How to Resolve Permission
Issues When a Database Is Moved Between SQL Servers
http://www.sqlservercentral.com/scri...p?scriptid=599
Restoring a .mdf
http://www.support.microsoft.com/?id=307775 Disaster Recovery Articles
for SQL Server



--
Andrew J. Kelly SQL MVP


"Robert" <Robert (AT) discussions (DOT) microsoft.com> wrote in message
news:670DD672-0098-41F3-93DA-492AC1101316 (AT) microsoft (DOT) com...
Running SQL Server 2000 SP3a on Win2000 Server (fully patched).

Trying to get a simple example to work for copying a Test DB (which has
one
simple table) on ServerA to ServerB. DB does not exist on ServerB,
both
Servers running as services with identical accounts (made
administrators;
not
Local System).

Everything works fine in the DTS (using default options):
Logins........Ok,
Master.......Ok,
MSDB.......Ok,
Errors......Ok,
CDW Database Tasks Fails...detailed steps below:
Successfully created the share OMWWIZC........Ok
Begin to copy the database Test...................Ok
Database Test has no active connections.......Ok
Put the database Test in single user mode.......Ok
Try to detach the database Test..............Ok
Successfully detached the database Test......Ok
Failed to copy file \\ServerA\OMWWIZC\Program Files\Microsoft SQL
Server\MSSQL\data\Test_Data.mdf.........Failed
Successfully attached the database Test on source.......Ok
Successfully deleted the share OMWWIZC.........Ok
End of CDW trace

Cannot get anything to transfer either from ServerA to ServerB or
vice-versa. Constantly getting the same error (Failed to copy
file.....)

Help!?!

Regards,

Robert









Reply With Quote
  #5  
Old   
Don
 
Posts: n/a

Default RE: Copy Database Wizard Fails to Copy Files - 03-30-2005 , 12:53 PM



I had the exact same problem until I executed the package under an account
that was explicitly defined in the sysadmin role, and not inheriting it.

Regards,

Don

"Robert" wrote:

Quote:
Running SQL Server 2000 SP3a on Win2000 Server (fully patched).

Trying to get a simple example to work for copying a Test DB (which has one
simple table) on ServerA to ServerB. DB does not exist on ServerB, both
Servers running as services with identical accounts (made administrators; not
Local System).

Everything works fine in the DTS (using default options):
Logins........Ok,
Master.......Ok,
MSDB.......Ok,
Errors......Ok,
CDW Database Tasks Fails...detailed steps below:
Successfully created the share OMWWIZC........Ok
Begin to copy the database Test...................Ok
Database Test has no active connections.......Ok
Put the database Test in single user mode.......Ok
Try to detach the database Test..............Ok
Successfully detached the database Test......Ok
Failed to copy file \\ServerA\OMWWIZC\Program Files\Microsoft SQL
Server\MSSQL\data\Test_Data.mdf.........Failed
Successfully attached the database Test on source.......Ok
Successfully deleted the share OMWWIZC.........Ok
End of CDW trace

Cannot get anything to transfer either from ServerA to ServerB or
vice-versa. Constantly getting the same error (Failed to copy file.....)

Help!?!

Regards,

Robert




Reply With Quote
  #6  
Old   
Kedzior
 
Posts: n/a

Default RE: Copy Database Wizard Fails to Copy Files - 06-11-2005 , 01:44 PM



The another reason can be there is no room on disk OMWWIZf share is created on.
I have just discovered it. Regards.

"Don" wrote:

Quote:
I had the exact same problem until I executed the package under an account
that was explicitly defined in the sysadmin role, and not inheriting it.

Regards,

Don

"Robert" wrote:

Running SQL Server 2000 SP3a on Win2000 Server (fully patched).

Trying to get a simple example to work for copying a Test DB (which has one
simple table) on ServerA to ServerB. DB does not exist on ServerB, both
Servers running as services with identical accounts (made administrators; not
Local System).

Everything works fine in the DTS (using default options):
Logins........Ok,
Master.......Ok,
MSDB.......Ok,
Errors......Ok,
CDW Database Tasks Fails...detailed steps below:
Successfully created the share OMWWIZC........Ok
Begin to copy the database Test...................Ok
Database Test has no active connections.......Ok
Put the database Test in single user mode.......Ok
Try to detach the database Test..............Ok
Successfully detached the database Test......Ok
Failed to copy file \\ServerA\OMWWIZC\Program Files\Microsoft SQL
Server\MSSQL\data\Test_Data.mdf.........Failed
Successfully attached the database Test on source.......Ok
Successfully deleted the share OMWWIZC.........Ok
End of CDW trace

Cannot get anything to transfer either from ServerA to ServerB or
vice-versa. Constantly getting the same error (Failed to copy file.....)

Help!?!

Regards,

Robert




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