Solved

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

Posted on 2009-07-10
2
239 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

Question has a verified solution.

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

Introduction This article will provide a solution for an error that might occur installing a new SQL 2005 64-bit cluster. This article will assume that you are fully prepared to complete the installation and describes the error as it occurred durin…
When writing XML code a very difficult part is when we like to remove all the elements or attributes from the XML that have no data. I would like to share a set of recursive MSSQL stored procedures that I have made to remove those elements from …
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

728 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