Solved

SQL 2008 SA password default

Posted on 2011-03-11
9
1,226 Views
Last Modified: 2012-05-11
I installed SQL that comes with SBS2008 and it is set for windows authentication, I have an app that needs the SA account.  I see it if I click on security, logins, but I cant change the password, I get the error message:
Cannot alter the login 'sa' because it does not exist or you do not have permission  sql server error 15151
0
Comment
Question by:rhwimmers
  • 5
  • 4
9 Comments
 
LVL 25

Expert Comment

by:Lee Savidge
Comment Utility
Is the sa account enabled? Set the authentication to mixed mode.
0
 
LVL 1

Author Comment

by:rhwimmers
Comment Utility
How do I verify?  I tried to enable or disable via a command but got the same, or similar error message.  How do I see if its set to mixed mode, I think it is as well...
0
 
LVL 25

Expert Comment

by:Lee Savidge
Comment Utility
Load up Management Studio and expand the tree to Security and then Logins and then check the properties of the sa account. It may be enabled, it may not be able to log in.
0
 
LVL 25

Expert Comment

by:Lee Savidge
Comment Utility
On the first page when you bring up the properties of the sa account, ensure that the SQL Authentication is ticked and that you have set a password. Then clicking on status on the left, ensure you have grant and enable checked.
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 1

Author Comment

by:rhwimmers
Comment Utility
Yes, under general there is a password in there, not sure what it is though.
Under status it is set for grant and enabled
0
 
LVL 1

Author Comment

by:rhwimmers
Comment Utility
And if I check login disabled and try ok I get the same error message - sa doesnt exist or I dont have permission.
0
 
LVL 25

Accepted Solution

by:
Lee Savidge earned 125 total points
Comment Utility
The password is just a series of **** which do not mean there is a password. Set one. If one has been previously set and you don't know what it is then changing it could break things.
0
 
LVL 1

Author Comment

by:rhwimmers
Comment Utility
Ok, I get the same error if I try to set a password.
0
 
LVL 1

Author Comment

by:rhwimmers
Comment Utility
Ok, thanks for the help - I found out what the sa password was set to (by a vendor).

Should be good to go now.

Thanks
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how the fundamental information of how to create a table.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now