i have this C# project in visual studio 2015 backend SQL Server 2014.
when i try to run on another PC the connection string wont work.i googled and found
Hide Copy Code
Code
"https://www.connectionstrings.com/sql-server-2014/"What I have tried:
Hide Copy Code
Code
the connection string which works fine on my machine is : string str = @"Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=C:\Users\xpert\Documents\RFID_DB.mdf;Integrated Security=True;Connect Timeout=30";i have installed and updated correct version of SQL on Client PC.Please help me with the correct connection string

Amit GuptaRank #190 · 12.8K reputationPosted Apr 1, 2017, 1:36 AM EDT
Jitendra ShekhawatRank #1,909 · 772 reputationPosted Apr 1, 2017, 12:53 AM EDT
Nazneen Sayed29 reputationPosted Apr 1, 2017, 1:20 AM EDT
A database with the same name exists, or specified file cannot be opened, or it is located on UNC share
Nazneen Sayed29 reputationPosted Apr 1, 2017, 2:24 AM EDT