I have a question that I have developed a C# WPF application which requires a local SQL Server database. I am having trouble publishing the application to a different computer where there is no SQL Server installed.
Is it necessary for me to have a SQL Server installed on all the PCs where I am going to install my application? Or am I missing something?
I am making the setup file form Advance Installer and copying the .mdf database to the location mentioned in the connection string
string connectionString = @"Data Source =(LocalDB)\MSSQLLocalDB; AttachDbFilename = " + Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"\abc\Databases\abc.mdf; Integrated Security = True; Connect Timeout = 30";
The error I am getting:
If having a SQL Server a necessity, which one should I install on a low end pc? any help will be appreciated. Thank you
