Discussion Locked

SQL Server Database Restore

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

We have SQL7 installed on an NT4 Server. We have 3 databases all set up the same but with 3 different names.

We have carried out a restore from one database and restored over another database from a backup device (dump file). The backup operation was successful, ie. the databases were the same size.

The problem now is that we are unable to connect to the restored database. What do I need to change so that I can connect to the restored database - (note, we can connect to the other two databases without any problem).

NB We are Rookie users! So any feedback would be greatly appreciated!

3 replies

by sdbytnar

We ran into a similiar problem. Double check the users and logins associated with the database. You may have to go into one of the system databases and delete logins and users, then recreate them.

Sean

by adisha

Thankyou for your prompt response.

You were right about going into Users of the database. However, deleting the user would have caused further problems.

I resolved the problem by adding in the user with the same name (ie physical filename) asthe database and assigning 'dbo' rights.

The database works fine now

IT Guru

This discussion is closed to new replies.