connection string - Invalid value for key 'attachdbfilename'. error -
i have uploaded website on web server cyberhost.com. send me information after purchasing web hosting. in nameserver 1: ns4.clientns.net .and got following error
invalid value key 'attachdbfilename'.
and connection string is- connection string="data source=.\sqlexpress;integrated security=true;attachdbfilename=|datadirectory|himtravels.mdf;user id=maantravels_db;password=v*f357ghtff;user instance=true"
what solution of it?? thank in advance. don't have enough knowledge connection string.
i think missing \ attachdbfilename=|datadirectory|\himtravels.mdf;
, missing initial catalog
connection string="data source=.\sqlexpress;initial catalog=dbname;integrated security=true; attachdbfilename=|datadirectory|\himtravels.mdf;user id=maantravels_db;password=v*f357ghtff;user instance=true"
Comments
Post a Comment