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

This article was previously published under Q262699
This article has been archived. It is offered "as is" and will no longer be updated.
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 924Database <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.
Properties

Article ID: 262699 - Last Review: 10/26/2013 07:22:00 - Revision: 3.0

Microsoft SQL Server 7.0 Standard Edition

  • kbnosurvey kbarchive kbbug kbfix kbqfe KB262699
Feedback