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)
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.
Here are two ways to work around the error:
- Retry the query that encounters the 924 error message.
- Use another method to provide exclusive access to the database, such as the "dbo use only" database option.
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.0For more information, contact your primary support provider.
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.
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