I have created an application that connects to a SqlDataBase that I created in c# visual studio 2015 using Add->New Item->Service-based Database. I've pushed the app to Github but when my friend tried to run the program he got this exception :
A network-related or instance-specific error occurred while establishing a connection to SQL Server.
The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections
My connection string is : Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=|DataDirectory|\RegisterDataBase.mdf;Integrated Security=True