Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old January 14th, 2005, 07:28 AM
Friend of Wrox
 
Join Date: Sep 2004
Location: New Delhi, Dekhi, India.
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Anantsharma Send a message via Yahoo to Anantsharma
Default Mapping SID

HI,

I installed a new server and sql server on that. Old server was contaning a database which are mapped to a particular login (SQL login).

Now I restored the backup of the database on new server. It is not allowing to add the newly created login to database. It says "user already exist". I know this is the problem of SID. In New instance SID is changes and so its not mapping the user to database.

Can someone please tell the stored procedure to map the SID.

Thanks.

B. Anant
__________________
B. Anant
  #2 (permalink)  
Old January 14th, 2005, 07:19 PM
Friend of Wrox
 
Join Date: Nov 2003
Location: Lehigh Acres, FL, USA.
Posts: 625
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jemacc
Default

What you want to do is mapped the logins to the new server from your old server, follow this link step by step. The user exists but are not associated with a login.

http://support.microsoft.com/default.aspx?scid=kb;[LN];Q246133


Jaime E. Maccou
  #3 (permalink)  
Old February 10th, 2005, 05:32 AM
Friend of Wrox
 
Join Date: Sep 2004
Location: New Delhi, Dekhi, India.
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Anantsharma Send a message via Yahoo to Anantsharma
Default

Hi,

Seems this will solve the issue. I will go through. Thanks for help.

Have a good time

B. Anant


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with mapping mauriciom Biztalk 2 August 16th, 2006 06:47 AM
Character Mapping muki XSLT 2 November 11th, 2005 03:11 AM
O/R mapping s_sana General .NET 0 April 12th, 2005 06:34 AM
what is <?=SID?> isheikh BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 1 November 2nd, 2004 09:23 PM
"How can i capture SID or machine id" javauniverse Classic ASP Basics 0 February 25th, 2004 02:17 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.