Re: sa account locked out



J. Cairn (jcairn@xxxxxxxxxxxxx) writes:
I am getting a message that my sa account is locked out, and I can't
connect with SQL Server Management Studio.

Other posts say to log in using Windows auth, but that is not letting
me in either. I am logged into the machine as the administrator and
SQL is set to mixed mode authentication. For security, I previously
removed the Windows accounts from SQL, including builtin
\adminstrators.

Any ideas? Thanks.

Looks like you are in dire straits. You need sysadmin to unlock sa, but
you don't have an sysadmin access available.

If you really must need access to this master database, you could open a
case with Microsoft to see if they have any tricks up their sleeve.

Else, it seems that you need to reinstall. You can attach the user
databases later on.



--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
.



Relevant Pages

  • Re: Master database corrupt.
    ... SQL Server isn't working at all. ... Or a "recreate master database" command? ... If you have a backup of the master database, ... Books Online for SQL Server 2005 at ...
    (microsoft.public.sqlserver.server)
  • RE: SELECT Permissions on Schemas
    ... yet he sees all 250+ system objects listed when he goes to link ... So your real problem is that the objects in the master database deluge ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (microsoft.public.sqlserver.security)
  • Re: Login failed for user NT AUTHORITYNETWORK SERVICE
    ... It's already set to use "SQL Server and Windows" authentication. ... There are ways to use Windows Auth with ASP.NET, ... Sahil Malik [MVP] ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Restore Master DB
    ... It's all in Books Online under "master database, restoring" in the index. ... Looking for a SQL Server replication book? ...
    (microsoft.public.sqlserver.server)
  • Re: Installing SQL Server 2005 on Vista Home Premium - IIS error need help
    ... Vista Home does not support it (I thought it just didn't support domain ... Why XP Pro and not Vista Pro or wait until 8/6 and install Win7 in the VM? ... But for SQL Server, if you need very basic database functionality, you can ... Since Reporting Services 2005 + IIS requires windows auth, ...
    (microsoft.public.sqlserver.setup)

Quantcast