Cannot login after creating the user in SQL Server
SQL Server was not configured to allow mixed authentication. Here are steps to fix:
- Right-click on SQL Server instance at root of Object Explorer,
- click on Properties.
- Select Security from the left pane.
- Select the SQL Server and Windows Authentication mode radio button, and
- click OK.
- Open up Services and restart the SQL Service (SQLEXPRESS) Windows service.
Try setting your authentication mode to mixed mode
. Your server does probably not accept logins using sql server accounts.
- Open properties
- Go to "Security"
- Select "SQL Server and Windows Authentication mode"
Right click Server for properties...
properties