r/SQLServer • • Sep 29 '25

Question JDBC Connection error to SQL Server

I am getting the following message every minute on a restored VM running SQL.

"Login failed for ''. Reason: An attempt to login using SQL authentication failed. Server is configured for Windows Authentication only. [Client Localhost]

Nothing has changed in regards to allowed authentication methods. I can log in either way using Windows credentials or an sa account from SQL Management studio.

There are also weird issues during a restart of all of the associated services and one service not starting or staying running.

5 Upvotes

15 comments sorted by

View all comments

Show parent comment

1

u/Rocknbob69 Oct 03 '25

The error message with the '' user is also stating that SQL Server is configured for Windows authentication only when it is clearly set to mixed mode.