When a database user for a corresponding Microsoft SQL Server Login is undefined or incorrectly defined, Microsoft SQL Server does not allow the user to log on to that instance. Such a user is said to be an orphaned user of the database instance. A database user can become orphaned if the corresponding Microsoft SQL Server user name is dropped. Most likely, a database user becomes orphaned after a database is restored or attached to a different instance of Microsoft SQL Server. Orphans occur if the database user is mapped to a security ID that is not present in the new server instance.
Use Microsoft SQL Server Management Studio or any other tool that executes SQL statements to address all orphaned users before you start or upgrade the StarTeam Server configuration.