I have build an MVC application and it is working very well. I have created a model in MVC project to access the database from local Microsoft SQL Server 2014 and the model is generated and working properly.
Now I have to host my project entire solution to the htdocs folder and uploaded my database as well. On hosting site all my stuff is working properly but the problem is my database is not working. I do not know how to configure it with my website.
I think there is a connection string problem in web.config file, due to which the connection is not established between connection string and the database.
<connectionStrings>
<add name="DefaultConnection" connectionString="Data Source=.;Initial Catalog=StarBuy;Integrated Security=SSPI;" providerName="System.Data.SqlClient" />
<add name="StarBuyEntities1" connectionString="metadata=res://*/Models.Model1.csdl|res://*/Models.Model1.ssdl|res://*/Models.Model1.msl;provider=System.Data.SqlClient;provider connection string="data source=.;initial catalog=StarBuy;user id=hidden;password=hidden;MultipleActiveResultSets=True;App=EntityFramework"" providerName="System.Data.EntityClient" />
</connectionStrings>
Is there a method to import the database from the hosting website to local Microsoft SQL Server 2014, so that I can update the Model and update the new generated connection string in the web.config file?
Your thoughts will be very appreciated.

user id=hidden;password=hiddeninDefaultConnectionstring. Ensure yourDefaultConnectionworking properly then, include any exception if you have.