Windows logins are not supported in this version of sql server

The error message “Windows logins are not supported in this version of SQL Server” indicates that the current version of SQL Server you are using does not support Windows authentication. This means that you cannot use Windows user accounts to log in to the SQL Server instance.

SQL Server supports two types of authentication: Windows authentication and SQL Server authentication. Windows authentication allows users to log in using their Windows user accounts, while SQL Server authentication requires a username and password specifically created within the SQL Server instance.

To resolve this issue, you have a few options:

  1. You can switch to using SQL Server authentication instead of Windows authentication. This will involve creating SQL Server logins with usernames and passwords that users can use to connect to the SQL Server instance. Here’s an example of creating a SQL Server login using T-SQL:

    CREATE LOGIN [myUsername] WITH PASSWORD = 'myPassword';

    Once the login is created, users can use these credentials to connect to the SQL Server instance.

  2. If you prefer to continue using Windows authentication, you can upgrade to a version of SQL Server that supports it. Check the documentation or the system requirements of your SQL Server version to verify whether it supports Windows authentication.

Related Post

Leave a comment