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.

0 Likes

Problem:

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.

Resolution:

Information in this Brief applies to:

  • StarTeam 4.x, 5.x
  • MS SQL Server 7 and 2000

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

Old KB# 28466
Comment List
Related
Recommended