Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How to fix this login failed for user?

User,privilege and role
This is my first time using MS studio I am learning by myself

I tried going to the login properties and tweaking the properties nothing happen. My teacher didn’t teach how to use this btw. I follow the instructions, but I’m stuck here.

This is what I am aiming for result
New user login

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

What you want to do is change the server authentication mode to "SQL Server and Windows Authentication mode". Currently your server is only set to "Windows Authentication mode" which does not allow logins from SQL Server "Login" accounts.

To do so, you’ll need to login to your server as an account that has access (either an authenticated Windows account or the SA account) and then follow these instructions:

Change authentication mode with SSMS

  1. In SQL Server Management Studio Object Explorer, right-click the server, and then click Properties.

  2. On the Security page, under Server authentication, select the new server authentication mode, and then click OK.

  3. In the SQL Server Management Studio dialog box, click OK to acknowledge the requirement to restart SQL Server.

  4. In Object Explorer, right-click your server, and then click Restart. If SQL Server Agent is running, it must also be restarted.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading