Recently I had to involve in a database migration task. I backed up the database and restored successfully in the new server. However when I access the database through the web site, database login didn't work. The problem was even though the database user is included in the restored database; the login information was not there. So I re-created the login in the server, but it also didn't work. This phenomenon is called “orphaned users“.