BUG: SEM Does Not Allow User of Database That is DBO Use Only

Last reviewed: May 2, 1997
Article ID: Q148876

The information in this article applies to:
  • Microsoft SQL Server, version 6.0
BUG# NT: 13967 (6.00)

SYMPTOMS

If there is a user in several databases and one of the database is marked as dbo use only, then SQL Enterprise Manager (SEM) does not allow the user to use the server at all. SEM generates the following error while trying to register the server under the user's name:

   Unable to Connect to Server [reason: User %d not allowed in database
   '%.*s' - only the owner of this database can access it]. Modify anyway?

If you select Yes to register the server anyway, any attempt to use the server results in following error:

   A connection could not be established to %s, User %d not allowed in
   database '%.*s' - only the owner of this database can access it.

WORKAROUND

If you are making a database (say database 'db1') 'dbo use only' and want to register the server under a user ('usr1') who is a user in 'db1' as well as in other databases, remove 'usr1' from 'db1'.

STATUS

Microsoft has confirmed this to be a problem in Microsoft SQL Server version 6.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


Additional query words: dbo only
Keywords : kbbug6.00 kbtool SSrvEntMan
Version : 6.0
Platform : WINDOWS
Issue type : kberrmsg


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: May 2, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.