Cybersecurity
DevOps Cloud (ADM)
IT Operations Cloud
ERROR: RW=5 Could not locate entry in sysdatabases for database "StarTeam". No entry found with that name. Make sure that the name is entered correctly.
Information in this Brief applies to:
Problem
This error occurs when attempting to change database context (with a USE statement) to a database that does not exist, or when the default database established for a login does not exist. In the latter case, the user login then attempts to access the master database.
When using SQL Server database as database for the StarTeam server configuration if the database name has spaces in it, such as ?StarTeam Test Database? StarTeam Server will generate this error on startup:
RW=5 ?Could not locate entry in sysdatabases for database ?StarTeam?. No entry found with that name. Make sure that the name is entered correctly.
For additional information please see:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/trblsql/tr_reslsyserr_1_2d4h.asp
Workaround
Create a new SQL server database that does not contain spaces in the name and restore the .bak file to that database.
For Example:
Test StarTeam Database
Becomes:
TestStarTeamDatabase