Re: Copy Database Wizard Fails to Copy Files

From: Andrew J. Kelly (sqlmvpnooospam_at_shadhawk.com)
Date: 12/01/04

  • Next message: Madhusudhan: "replacing the ? with prefixed parameter names"
    Date: Wed, 1 Dec 2004 16:12:33 -0500
    
    

    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@discussions.microsoft.com> wrote in message 
    news:55C835AD-DE92-4CC6-97D7-6490AF6C73AD@microsoft.com...
    > 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/scripts/scriptdetails.asp?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@discussions.microsoft.com> wrote in message
    >> news:670DD672-0098-41F3-93DA-492AC1101316@microsoft.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
    >> >
    >> >
    >> >
    >>
    >>
    >> 
    

  • Next message: Madhusudhan: "replacing the ? with prefixed parameter names"

    Relevant Pages

    • Re: write with cURL
      ... execute permissions. ... of potential security risks from other users on the same server. ... I made this suggestion because their web host appears to run Apache ... risk to allow Apache's group write access, since all PHP scripts ran ...
      (alt.php)
    • RE: Windows 2003 Server - Everyone Group
      ... this folder only accessable by the users in the "special" group. ... Configure User and Group Access on an Intranet in Windows Server ... NTFS files system permissions control ... group that you want to set permissions for, click Check Names to verify the ...
      (microsoft.public.win2000.networking)
    • Fail DBD::Mysql 4.003 installation
      ... This test requires a running server and write permissions. ... permissions, then retry. ... Failed 9/9 tests, 0.00% okay ...
      (perl.dbi.users)
    • Re: write with cURL
      ... execute permissions. ... of potential security risks from other users on the same server. ... I made this suggestion because their web host appears to run Apache ... risk to allow Apache's group write access, since all PHP scripts ran ...
      (alt.php)
    • Re: Virtual Directory - Permission Denied with fso CopyFile
      ... TestUser (normal user account with same credentials on all machines). ... I created a share on a remote server. ... reviewing it's sharing permissions and security tab permissions "everyone" ... "directory security" tab on the vdir and selecting, edit, edit and manually ...
      (microsoft.public.inetserver.iis)