Jan 28 2024 10:09 AM
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.
Jan 28 2024 10:19 PM
@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?
Jan 29 2024 02:11 AM
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
Jan 29 2024 09:51 AM
Jan 29 2024 01:24 PM
@waqasqadri I believe the problem was mostly related to permissions on the file system. Ser what happens if you run ssms as admin
Jan 30 2024 05:27 AM