The problem is that the path to my database shown in the error below is incorrect. I cannot find where that path is set as it is not in the settings or in any of the project files. What am I missing:
The error:
An attempt to attach an auto-named database for file H:\FoxCityGuide\FoxCityGuide\App_Data\Restaurants.mdf failed.
The path to the database:
H:\FoxCityGuide\FoxCityGuide\Restaurants.mdf
app.config
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections></configSections>
<connectionStrings>
<add name="RestaurantsEntities" connectionString="metadata=res://*/Restaurants.csdl|res://*/Restaurants.ssdl|res://*/Restaurants.msl;provider=System.Data.SqlClient;provider connection string="data source=SFP;attachdbfilename=|DataDirectory|\Restaurants.mdf;integrated security=True;multipleactiveresultsets=True;App=EntityFramework"" providerName="System.Data.EntityClient" />
</connectionStrings>
</configuration>