Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12554

SQL authentication error

$
0
0

Hi,

I cannot login used ODBC driver. I have an error listed bellow:

Error: 18456, Severity: 14, State: 58.
Login failed for user ''. Reason: An attempt to login using SQL authentication failed. Server is configured for Windows authentication only. [CLIENT: 10.1.0.50].

It seems that server is on Windows authentication mode, so I have changed SQL instance to mixed mode, restarted both services (SQL server+ agent), also restarted Virtual Machine and the problem is still not solved. I get the same error message, but in SMSS properties server is on mixed mode.

I can connect to SQL via Server Management Studio in localhost used the same user and SQL Server Authentication, permission is granted and account is enabled. Log bellow:

Login succeeded for user 'xxx'. Connection made using SQL Server authentication. [CLIENT: <local machine>]

I also tried to change my ODBC native client to 2008 with no possitive results and I give up...

Thanks for help





Viewing all articles
Browse latest Browse all 12554

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>