Specify where the database lives using the web.config file connection settings. make sure that the Context Name is your Connection String Name as below:
<connectionstrings>
<add name="YourContextName"
connectionString="Server=aaaServer;Database=aaaDB;Uid=aaa;Password=aaa; "
providerName="System.Data.SqlClient"/>
</connectionstrings>