I’m trying to restore a database (SQL SERVER 2008) from a backup in a different server. The problem I have is with the login, as the user is included in the backup but the login is not.
So I try to create a new login in the server but it doesnt seem to work.
anyone knows a workaround for this?
It would have been useful if you posted the actual error message and the steps taken to produce the error.
Anyway, I think what you need to do is delete the user from the restored database. Then you will be able set up the user & corresponding Server login from scratch.
EDIT:
If the user owns a schema in the database you won’t be able to delete the user. There is Microsoft article on how to transfer SQL Logins.