0

I've been using SQL Server Express with Windows authentication for many years with no problems. However, for a different application I need to use server authentication. I'm running SQL Server 2008 R2 Express.

Here is what I've done so far in SSMS:

  • Enabled "SQL Server and Windows authentication mode" in the "Security" section of Server Properties

  • Created a new server Login with 'public' and 'sysadmin' server roles

  • Created a new database user with the above login and assigned it db_accessadmin, db_datareader and db_datawriter.

When I try to connect to the server using SSMS and SQL Server authentication I get the "Login failed..." with 18456 error.

I'm definitely providing a correct password.

Is there anything else that needs to be done for the server authentication to work?

Thanks.

1 Answer 1

1

It is required to restart SQL Server after enabling the SQL Server authentication mode.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.