110 likes | 193 Views
If you want want to known more about this topic you are suggested to visit : http://www.sdrwins.com
E N D
Go with the following post if you face error 18456 in your SQL Server. This error message usually noticed when the invalid login credential entered in server or have internal issues. From the post you will come to know how to determine administrative right to other user.Now, firstly login to SQL Server Management Studio, considering user don't have administrative permission to connect with server.
Firstly you have to find out what type of user have right to SQL Server. Are you the user who installed SQL Server or the default administrator of the computer. To get list of user from machine (Assuming MS windows server 2012 or above) follow the steps.
-> Launch Server Manager – Start – Click Server manager In upper right corner you will find 'Tools' option. Click on it and then 'Computer Management'.
Now expend 'Local Users and Groups' which lies under Computer Management-System Tools and then choose Users You will notice 'Built-in account for administering...' under 'Description'. This is that account which has access to SQL Server. Try login to Windows using 'Built-in account for administering' then grant permission to the user you want to login to SQL Server. For further info:-http://www.sdrwins.com
As you complete the above steps, you logged into Windows account having permission to connect with SQL Server, lets go and grant permission to the user.
Again launch 'SQL Server Management Studio'and you should be able to Connect by clicking 'Connect' button. • Now you will get your log-in server name in left hand Expand your ServerName then Security → Right Click on Login → Choose New Login.
Now a Windows appears on screen type 'User Name' to add as as SQL Administer. After this click on 'Check Names'. You can go with the advance option to select user from list.
Now click on 'Server Roles' from the left pane and turn on the 'sysadmin' check box, then click OK.
Now you can confirm that you have a rights. For this you have to double click on 'User Name' and by clicking Securables. • For details visit at:-http://www.sdrwins.com
At last log out from Windows, login as user you just granted rights, hope all should work fine. • If you want want to known more about this topic you are suggested to visit : http://www.sdrwins.com