Microsoft
Software
Hardware
Network
Question : Error adding user mapping in sql server 2005
Hello,
I just restore a database in SQLserevr 2005. Now I am trying to add the loging.
In SSMS 2005 I did teh following
Select security
Select the user
Select user mapping
click the checkboc netx the user name and enter the username and default schema
Select db owner and press ok
I get the error "
user group or role '<dbusername>' already exist in the current database
How do I fix this error.
Thanks
Answer : Error adding user mapping in sql server 2005
Try:
USE <DB>
GO
EXEC sp_change_users_login 'Auto_Fix', '<user>'
GO
Random Solutions
How to connect to network printer linux
Exchange 2007 OWA client problems
Remote Web Workplace in Server 2008?
How to bounce a database which hs RAC, OEM, ASM and dataguard
How to test on an Android device
MS Access 2007 -- Using Like with Left Join
Outlook 2007 delete cross out message instead of deleting
sharepoint foundation 2010 on 32 bit?
How do I check if the the value of a column
Restoring Intranet Web Site