Click here to Skip to main content
15,885,244 members
Please Sign up or sign in to vote.
3.50/5 (2 votes)
I want to take database backup on network. There are number of terminals like pc01, pc02 , pc10, & pc51. I taking backup from pc 51 on pc 01. Error is coming. whilst taking from pc 51 on pc 02 & other, it is happening sucessfully.

Error is

CSS
DatabaseName backup failed, Error: [Microsoft][ODBC SQL Server Driver][SQL Server]Write on '\\PC01\c:\nexback\PC51.dat' failed, status = 64. See the SQL Server error log for more details.
[Microsoft][ODBC SQL Server Driver][SQL Server]BACKUP DATABASE is terminating abnormally.



Please tell what is the reason and how to rectify.
Posted
Comments
Member 10249450 3-Sep-13 7:43am    
have changed in this format \\PC01\c$\nexback\PC51.dat, server connecting and start backup on location, after completing few kb, prompt error.

We can't - it's a generic error message.
Look at it though: it tells you what to do: "See the SQL Server error log for more details."

Hopefully, there will be sufficient information there to let you know what the problem is, if not solve it directly!
 
Share this answer
 
Comments
phil.o 3-Sep-13 7:33am    
Reason of my vote of 2 : despite the advise to go and see the log for more details is perfectly valid, the error message is in itself documenting enough : it shows a wrong UNC path.
\\PC01\c:\nexback\PC51.dat

Try to replace it with

\\PC01\c$\nexback\PC51.dat

You cannot access a hard drive on a distant computer the same way as you do on a local one.
Administrative shares have to be activated on the distant computer (and the user who tries to access them has to be a member of the local administrators group on the distant computer).
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900