0

I have buy from Godadday hosting and domain, after that I have create database in godaddy and the connect to this db using my authentication.

I have .mdf, .ldf that need to attach to the connected server, I am going to Object Explorer -> Database -> Attach -> Attach database screen is opened but everything inside is disabled.

enter image description here

What can I do to enable attaching my local DB to the server DB?

Thank you so much for helping.

I am using SQL Server 2012 Management Studio

1

If you need help attaching via T-SQL, if you see the SCRIPT button on the image you attached, you will be able to output the SCRIPT syntax to attach via 'T-SQL'. Just fill it in with the required information like target path to MDF file etc.. Give that a shot and see what you can come up with.

Also make sure you are on the same version of SSMS as the database to help prevent issues.

Also, when you connect to the DB instance, make sure you are using a Administrative account, it might be different than your current log-in or Windows Auth account.

Not the answer you're looking for? Browse other questions tagged or ask your own question.