• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1259
  • Last Modified:

SQL 2008 SA password default

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
rhwimmers
Asked:
rhwimmers
  • 5
  • 4
1 Solution
 
Lee SavidgeCommented:
Is the sa account enabled? Set the authentication to mixed mode.
0
 
rhwimmersAuthor Commented:
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
 
Lee SavidgeCommented:
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
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
Lee SavidgeCommented:
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
 
rhwimmersAuthor Commented:
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
 
rhwimmersAuthor Commented:
And if I check login disabled and try ok I get the same error message - sa doesnt exist or I dont have permission.
0
 
Lee SavidgeCommented:
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
 
rhwimmersAuthor Commented:
Ok, I get the same error if I try to set a password.
0
 
rhwimmersAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now