Microsoft KB Archive/262699

From BetaArchive Wiki
Knowledge Base


FIX: User Logged Into DB in Single User Mode May Encounter 924 Error

Article ID: 262699

Article Last Modified on 3/14/2006



APPLIES TO

  • Microsoft SQL Server 7.0 Standard Edition



This article was previously published under Q262699

BUG #: 54404 (SQLBUG_70)

SYMPTOMS

A user that is already logged into a database, which has the option "single user" set to ON, may fail with the following error when a query is run while other users are trying to open the database:

Msg 924 Database <database name> is already open and can only have one user at a time.

WORKAROUND

Here are two ways to work around the error:

  • Retry the query that encounters the 924 error message.


-or-

  • Use another method to provide exclusive access to the database, such as the "dbo use only" database option.


STATUS

Microsoft has confirmed this to be a problem in SQL Server 7.0. This problem has been corrected in U.S. Service Pack 3 for Microsoft SQL Server 7.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

274799 INF: How to Obtain Service Pack 3 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0


For more information, contact your primary support provider.

MORE INFORMATION

The user that is already logged into the database may eventually be allowed to successfully run the query that encounters the 924 error message. However, if several users continually try to use the database, that user may not ever get the query to run successfully.

Keywords: kbbug kbfix kbqfe KB262699