Forum Discussion
waqasqadri
Jan 28, 2024Copper Contributor
Unable to import SQL Server backup using SSMS
Hi,
I have just installed SQL server on my windows 10 machine and SSMS. Now I am doing the following:
1- Connecting to SSMS using windows authentication
2- Importing my SQL server backup using "Restore Database" option in SSMS.
When I select the devices by providing the SQL Server backup file details, it does not do anything. Infact the Ok button is also disabled.
I have imported the SQL server backup on the fresh installation in the past as well and it worked but not sure what I am doing wrong this time.
Your help would be highly appreciated.
- waqasqadriCopper Contributor
waqasqadri I read the help page and it says that the user should have CREATE database access. I am connecting with default user (window authentication), using this user, if I try to create the DATABASE, I get permission denied error. I think this could be the reason its not restoring the backup.
Could you please help me in granting the admin rights to the user?
- olafhelperBronze Contributor
Could you please help me in granting the admin rights to the user?
waqasqadri use SSMS GUI, edit the user => "Server role/membership"
Or see GRANT Server Permissions (Transact-SQL) - SQL Server | Microsoft Learn
- waqasqadriCopper ContributorHi, Thanks for your response. I am able to resolve the issue by uninstalling and reinstalling SSMS and SQL server. Not sure why but after the reinstall, everything worked fine without any issues.