Re: How to change password for sa?
From: Dan Guzman (danguzman@nospam-earthlink.net)
Date: 11/05/02
- Next message: Steve Thompson: "Re: deleted access still allows access"
- Previous message: Ivan D.: "How to change password for sa?"
- In reply to: Ivan D.: "How to change password for sa?"
- Next in thread: Daan Stam: "Re: How to change password for sa?"
- Reply: Daan Stam: "Re: How to change password for sa?"
- Reply: Ivan D.: "Re: How to change password for sa?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Dan Guzman" <danguzman@nospam-earthlink.net> Date: Tue, 5 Nov 2002 10:14:37 -0600
The error message is a bit misleading. The problem is that a database
was restored/attached and the database owner recorded in sysdatabases is
out-of-sync with sysusers. This confuses the EM GUI.
You can run a script like the following to correct the mismatch.
USE MyDatabase
EXEC sp_addlogin 'TempOwner'
EXEC sp_changedbowner 'TempOwner'
EXEC sp_changedbowner 'sa'
EXEC sp_droplogin 'TempOwner'
GO
See http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q218172& for
details.
-- Hope this helps. Dan Guzman SQL Server MVP ----------------------- SQL FAQ links (courtesy Neil Pike): http://www.ntfaq.com/Articles/Index.cfm?DepartmentID=800 http://www.sqlserverfaq.com http://www.mssqlserver.com/faq ----------------------- "Ivan D." <idych@yahoo.com> wrote in message news:#hX3XROhCHA.1736@tkmsftngp11... > Hello, > > I'm beginner with SQL administration, so probably this question is trivial > but... When I'm trying to change password for sa in "SQL Server Login > Properties - sa" window, I get the message: > > Error 21776: [SQL-DMO]The name 'dbo' was not found in the Users > collection... and the password's change fails. > > But this name does exist in every database_name\Users box. So what's wrong? > > Thanks. Ivan. > >
- Next message: Steve Thompson: "Re: deleted access still allows access"
- Previous message: Ivan D.: "How to change password for sa?"
- In reply to: Ivan D.: "How to change password for sa?"
- Next in thread: Daan Stam: "Re: How to change password for sa?"
- Reply: Daan Stam: "Re: How to change password for sa?"
- Reply: Ivan D.: "Re: How to change password for sa?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
Loading