Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15889

Sql Server login failure error: 18456 with Windows account and sa account

$
0
0

Hi All,

I am using Win 2008 R2,SQL Server 2008R2

When i try to connect to SQL Server i am getting error 18456.
Previously i have installed Active Directory and immediatly i haved un installed it. After this i am not able log in Database Engine with Windows Aduthenticatino and sa accounts.

For both Windows Authenticatin and sa user i am getting same errors
Message From SSMS:

Cannot connect to SERVER.

Login failed for user 'SERVER\Administrator'. (.Net SqlClient Data Provider)
------------------------------
Server Name: WIN-HAJHN3NCQNP
Error Number: 18456
Severity: 14
State: 1
Line Number: 65536

Message From Event Viewer Applicatino Logs :

-->Login failed for user 'sa'. Reason: An error occurred while evaluating the password. [CLIENT: <local machine>]

-->Login failed for user 'SERVER\Administrator'. Reason: Token-based server access validation failed with an infrastructure error. Check for previous errors. [CLIENT: <local machine>]

I have tried this

1. Opened SSMS with Run as Administrator.
2. Checked in regedit for login mode-it is '2'-Mixed mode\

I dont know why it is happening.

How can i log in to Sql Server ?

Please suggest me the ways to solve this issue.

Thanks & Regards


MD.Liakath ali


Viewing all articles
Browse latest Browse all 15889

Trending Articles



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