The information in this article applies to:
BUG #: 18026 (SQLBUG_65) SYMPTOMS
After using the sp_renamedb system stored procedure to rename a database,
all users whose default database was the renamed database will receive the
following errors when logging in to SQL Server:
Both errors may occur twice. After dismissing the errors, the user will be logged in and the current database will be master, even if the user is not permitted in master. CAUSEThe dbname column in the syslogins table stores the name of the users' default database. The sp_renamedb stored procedure is not updating this column to the new database name. WORKAROUND
To work around this problem, the system administrator (sa) should run the
statements given below. These statements will update the dbname column of
syslogins to reflect the new database name.
NOTE: Substitute your new database and old database names for 'newdbname' and 'olddbname', respectively. STATUSMicrosoft has confirmed this to be a problem in SQL Server versions 6.0 and 6.5. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. Additional query words: st proc
Keywords : SSrvStProc kbbug6.50 kbbug6.00 |
|
Last Reviewed: April 16, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |