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

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 : kbtool SSrvEntMan kbbug6.00
Version : 6.0
Platform : WINDOWS
Issue type :


Last Reviewed: March 24, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.