Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Goal: connect to SQL Server Express 2008 database using SQL Server authenticated account "sa", rather than my Windows authenticated account.

When installing SQL Server 2008 Express, I took all default options except when filling in the Service Accounts. It did not allow me to enter "sa" as the Account Name for the "SQL Server Database Engine" service. So I found my network user {NETBIOS DOMAIN\LOGIN} and entered that id along with my network password. I then chose the default "Startup Type" of Automatic. That allowed me to complete the installation.

Normally, on Windows XP or Windows 7, SQL Server Express installs fine. This install was on Windows Server 2008.

When I created a new database, I noticed my network name showed up under the database properties. Database Properties > General > Owner. So I reset that user to "sa" for that one database. Creating new databases defaults it to the value I initially set during install.

I used this command to reset that user.

EXEC sp_changedbowner 'sa'

The latest version of SQL Server Express (downloaded today) also defaulted the "sa" login to Disabled (Database Server > Security > Logins > sa > Login Properties > Status > Login: Disabled). So I enabled it.

I still cannot log into the database server ({MACHINE NAME}\SQLEXPRESS) with account sa. I event reset the password (Database Server > Security > Logins > sa > Login Properties > General > Password & Confirm Password). What am I missing?

share|improve this question
up vote 2 down vote accepted

I had to do two things to solve it.

1.) I didn't have mixed mode turned on. I had to right click the server node in the Object Explorer and go to Server Properties.

2.) restarted Windows Service for SQL Server.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.