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

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -