Reputation: 2275
I have installed sql server in client pc but the app doesn't access database.
this is my connection string :
connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\myDB.mdf;Integrated Security=True;User Instance=True"
please, is there other apps must be installed in client pc (e.g., SSMS)?
Upvotes: 1
Views: 141
Reputation: 2275
sql server express install with it the localDb.
i have install SSMS and it solve the issue !
now i realize that client pc must install 2 Apps :
1- Sql Server Epress
2- Sql Server Management Studio
thanks every one,
Upvotes: 1
Reputation: 66
Make that Integrated Security=False in connection string as below
connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\myDB.mdf;Integrated Security=False;User Instance=True"
This might be helpful for you
Upvotes: 1