Ok, in the data access DLL, myapp.DataAccess.Properties has a
[global::System.Configuration.DefaultSettingValueAttribute("Data Source=VISTADEV;Initial Catalog=Fin;Integrated Security=True")]
public string FinConnectionString {
get {
return ((string)(this["FinConnectionString"]));
}
}
which is my local box. I see the problem though. In global.asax.cs, rather than doing:
using (DataAccess.FinDBDataContext context = new DataAccess.FinDBDataContext(Configuration.DbConnection))
I was doing
using (DataAccess.FinDBDataContext context = new DataAccess.FinDBDataContext())
which brings back the default rather than the config value. Problem solved. Thanks.