I have a Project with Database in it,
This is my app.config's code.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
</configSections>
<connectionStrings>
<add name="QuanLyDoiBong"
connectionString="Data Source=(LocalDB)\v11.0;AttachDbFilename=|DataDirectory|\QuanLyBongDa2.mdf;Integrated Security=True"
providerName="System.Data.SqlClient" />
</connectionStrings>
</configuration>
I Deploy a project using install shield limited edition, if I install it on my PC it works perfectly, If I bring it to another PC (don't have SQL sever), whenever I press some button that need to connect to database I got this exception:
a network-related or instance-specific error occurred while establishing a connection to sql server, The sever was not found or was not accessible. Verify that the instance name is correct and that SQL sever is configured to allow remote connections. (Provider: SQL network intefaces, error 52 - Unable to locate a Local Database runtime installation. Verify that SQL sever Express is Properly installed and that the Local Database runtime feature is enabled
.
I think that my "Order PC (Which don't have SQLsever installed)" need to install SQLSever if so how can I run this application on Other PC without install SQL-sever ?
and .. English isn't my mother tongue language, so ... Sorry for any mistake I made..