Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

SQL 2008 SA password default

Posted on 2011-03-11
9
Medium Priority
?
1,255 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
ID: 35110246
Is the sa account enabled? Set the authentication to mixed mode.
0
 
LVL 1

Author Comment

by:rhwimmers
ID: 35110320
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
ID: 35110335
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 25

Expert Comment

by:Lee Savidge
ID: 35110377
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
 
LVL 1

Author Comment

by:rhwimmers
ID: 35110608
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
ID: 35110618
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 500 total points
ID: 35110629
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
ID: 35110667
Ok, I get the same error if I try to set a password.
0
 
LVL 1

Author Comment

by:rhwimmers
ID: 35110683
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

926 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