Windows logins are not supported in this version of sql server

Error Message:

Windows logins are not supported in this version of SQL Server.

Explanation:

This error message indicates that the current version of SQL Server being used does not support Windows logins. SQL Server supports two types of logins: Windows logins and SQL Server logins. Windows logins allow users to connect to SQL Server using their Windows credentials, while SQL Server logins require a separate username and password specific to SQL Server.

Examples:

For example, let’s consider a scenario where you are using SQL Server 2012 Express Edition, which does not support Windows logins. If you attempt to connect to the server using a Windows login, you will encounter the mentioned error message.

To resolve this issue, you have two options:

  1. Upgrade to a version of SQL Server that supports Windows logins: If Windows logins are essential for your requirements, you need to upgrade to a higher edition or a newer version of SQL Server that supports Windows logins. For example, SQL Server 2017 or newer versions do support Windows logins.
  2. Use SQL Server logins instead: If upgrading is not an option, you can switch to using SQL Server logins. This requires creating separate usernames and passwords directly within SQL Server, which users will then use to connect to the database.

Read more interesting post

Leave a comment