

If a failover occurs during our activity, or if you are connecting to the secondary replica using the default browse database and set only as free / busy database, you can also get this 18452 error with the SSPI context error I noted below. Suppose you also have an AOAG setup and connect to a database that manages the primary namereplica, rather than the brand of the receiver, using a connection whose default database is defined as specific availability dates. This can usually be due to the fact that you are trying to connect to a server that still reflects the configuration of the availability group or the configuration of the database.
#SQL ERROR 18456 MIXED MODE WINDOWS#
SQL Server Authentication Mode is sometimes set so that SQL Server and Windows Authentication will accept SQL logins almost as well as Windows logins, but you will still run into this issue.

We could call this mixed mode authentication. One is Windows Authentication Method and the other is SQL Server and Windows Authentication Mode.

SQL Server is configured to accept individual Windows connections that connect to the index instance.Īs we know, SQL Server uses two modes of authentication to accept connections to the repository. Go to Start> Programs> Microsoft SQL Server> Enterprise Manager.Expand the tree until you see your server.Right click to open your server.Select the Security tab.In the Authentication section, select SQL Server and Windows.Click OK.Įrror 18452 is caused by incorrect authentication mode setting.
