سلام دوستان
من یک کانکشن به صورت زیر درست میکنم :
_dbContxt =
new DbContxtDataContext(
@"Data Source=(LocalDB)\v11.0;AttachDbFilename=" + _AddressTaraNote +
@"\dbTaraNote.mdf;Integrated Security=True");
ولی پیغام خطا زیر رو میده.
Additional information: An attempt to attach an auto-named database for file \dbTaraNote.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.
میخوام کانکشنم طوری باشه که تو هر کامپیوتری که گذاشتم راحت اجرا بشه دیتابیس هم کنار EXE برنامه هست.