Skip to main content
How Can We Help?

Search for answers or browse our knowledge base.

User already exists in the current Database

You are here:
< Back

When migrating a database sometimes the SQL login SpocWrite and the user on the xspoc db are disconnected. You need to map SpocWrite to the xspoc database. When doing this you may get the error “user already exists in the current database”.

Run the following script on the xspoc databse

sp_change_users_login 'AUTO_FIX', 'SpocWrite'