Solved

What is the best way to restore a new database with users.

Posted on 2009-07-10
2
222 Views
Last Modified: 2012-05-07
I am restoring a new database to my local SQL2005 server which has 4 users. After restoring the database I can see the users in the database - Security - Users. But I can't connect to the database server using those users.

Then I added the users to the Server - Security - Logins area. But I still can't connect using the users.

I then tried connecting the Login to the database with the User Mapping, but it says the user already exists in the current database.

Any ideas? What is the proper order of getting everything connected?
0
Comment
Question by:RussPete
2 Comments
 
LVL 75

Accepted Solution

by:
Aneesh Retnakaran earned 250 total points
ID: 24825399
0
 

Author Closing Comment

by:RussPete
ID: 31602168
Thank you for the excellent quick help. I think that would have taken me a long time to find. I wish the Server Management Studio did it more for me automatically.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are some very powerful Data Management Views (DMV's) introduced with SQL 2005. The two in particular that we are going to discuss are sys.dm_db_index_usage_stats and sys.dm_db_index_operational_stats.   Recently, I was involved in a discu…
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question