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

Article translations Article translations
Article ID: 262699 - View products that this article applies to.
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)
Expand all | Collapse all

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.

Properties

Article ID: 262699 - Last Review: October 26, 2013 - Revision: 3.0
Applies to
  • Microsoft SQL Server 7.0 Standard Edition
Keywords: 
kbnosurvey kbarchive kbbug kbfix kbqfe KB262699

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com