Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copy DB Wizard ( Failed to copy file \\SQL_Server\OMWWIZC .... *.mdf )

Status
Not open for further replies.

BigBZ

Programmer
Jul 29, 2003
20
US
I am on two Win2k Machines trying to copy a SQL database from one to the other. Machine A is here. Machine B is remote, and I am connected through a vpn.

I am using remote control software to access Machine B. I am using the Enterprise Manager on Machine B to run the copy wizard. Enterprise Manager can connect and has both Databases within it.

Both machines have the same user/pass for windows and the SQLServer service is using that same administrator login as well.

Here is how it goes:

-- Successfully created share OMWWIZC
-- Begin to copy database Dynamics
-- Database Dynamics has no active connections
-- Put the database Dynamics into single user mode
-- Try to detach DB
-- Successfully detached
-- Failed to copy file \\BZITZOW\OMWWIZC\Program Files\Microsoft SQL Server\MSSQL$ACCOUNTING\Data\GPSDYNAMICSDat.mdf

It failes consistantly at that step for every database that it is trying to copy. Here are more stats on my machines:

Machine A
Comp Name = BZITZOW
SQL Server Service = MSSQL$ACCOUNTING
SQL Server = BZITZOW\ACCOUNTING


MACHINE B
Comp Name = ACCOUNTING
SQL Server Service = MSSQL$GP
SQL Server = ACCOUNTING\GP

I have created the directories in both machines where the *.mdf files would be if the db names were the same. no help there. I guess next i will attempt to xfer it using the Enterprise Manager on Machine A.

*shrugs*

I am newbie to SQL Administration, any and all help available is GREATLY appreciated! Thanks!
 
We use the Nortel VPN client and have had many problems with EM name resolution while using VPN. We gave up trouble shooting and now copy everything to the target server and run restores with the copied files.

Hope this helps.

Krickles | 1.6180

 
Yeah we actually had to edit a host file to get it to this point. before that it was having trouble connecting from Machine B to Machine A.
 
FYI

I put both machines in the same domain (through the VPN) and then it xferred fine. It was a rights issue apparently.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top