The Error look like this.
Event ID :18456
Connect to Database Engine
Cannot connect to "SQLServerName"
Additional Information: Login failed for "your user name".(Microsoft SQL Server, Error 18456)
This is how to solve it.
- Go to control panel > computer management
- On expand to Local user and Groups > Users
- right click on the user you want to use to login to SQL Server then select properties
- Then on Member of tab, click add then type administrators
This applies to MS SQL Server Express 2014, MS SQL Server 2013, MS SQL Server 2012
Try again to log to your MSSQL using the user you grant permission as administrator.
No comments:
Post a Comment