connect local database on my PC everything works, the other does not work although the file path is automatically set
swears it is on the dB connection.
"************ Exception Text **************
System.Data.SqlClient.SqlException (0x80131904): 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. (provider: SQL Network Interfaces, error: 52 - Unable to locate a Local Database Runtime installation. Verify that SQL Server Express is properly installed and that the Local Database Runtime feature is enabled.) ---> System.ComponentModel.Win32Exception (0x80004005): the system cannot find the file specified"
string file = @"\Database1.mdf";
string path = Path.Combine(Environment.CurrentDirectory);
full_fille string = path + file;
connect = @"Data Source = (LocalDB)\MSSQLLocalDB; AttachDbFilename="+full_fille+";Integrated Security = True";
the project "https://yadi.sk/d/lORIhaWv0fXRlA