Solved

SQL 2008 SA password default

Posted on 2011-03-11
9
1,244 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
Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

 
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 125 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

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!

Question has a verified solution.

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

How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Viewers will learn how the fundamental information of how to create a table.

740 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