?
Solved

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

Posted on 2009-07-10
2
Medium Priority
?
243 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 1000 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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

INTRODUCTION: While tying your database objects into builds and your enterprise source control system takes a third-party product (like Visual Studio Database Edition or Red-Gate's SQL Source Control), you can achieve some protection using a sing…
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

771 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