Click here to Skip to main content
15,907,001 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Sir/Madam,

There is a problem in database restore and it is in stuck when i uploading the database back up file in the remote server.Now when i try to delete the database from the server and create another database it could not.Please help me, what should i do?

Suraj Bhakta
Posted
Comments
Corporal Agarn 3-May-12 14:32pm    
Are you copying the backup to the server where it is to be restored?
If SQL Server you may be able to restore again and tell it to overwrite. See option page.

1 solution

Hi,

To restore a database you will need to modify it to single user. Then after it is restored change it back to multi user.

You do this by right clicking on the database and selecting properties. Go to options. Then on the right hand side scroll to the bottom and amend the Restrict Access value to single user.
 
Share this answer
 

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