What do i need to do for this error...Neither windows auth not sql server auth works.
Following is the entry in the SQL Server log:
2013-08-08 13:37:55.70 Logon Login failed for user 'Domain\UserID'. Reason: Could not find a login matching the name provided. [CLIENT: local machine] 2013-08-08 13:39:20.73 Logon Error: 18456, Severity: 14, State: 5.
thanks!!!
The error message is telling you exactly what's wrong. You are trying to connect to a SQL Server instance, but the account you are trying to use is not defined as a login for that instance.
The generic message “Login Failed for User (Microsoft SQL Server, Error: 18456)” means you entered invalid credentials when logging into SQL Server.
Did you add that windows login in SQL Server?
CREATE LOGIN [<domainName>\<login_name>] FROM WINDOWS;
GO
Update:
If you do not know the sa password and your windows login does not work. You will have to do one of the following:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With