Connecting to SQL Server instance through C# I made a program, using c# and sql server with sql authentication. It works properly in my device, but after making the program setup file .exe extension using Innosetup, I cannot connect to my database.

I've have tried exporting my database in script, and run the script on another device but it does not work. I think I need to create port or something to connect to this database, or in my app.config change the server name 

Here is my Connection String

&lt;connectionStrings&gt;
    &lt;add name="MarketDatabaseEntities" connectionString="metadata=res://*/AmanjCenter2Entity.csdl|res://*/AmanjCenter2Entity.ssdl|res://*/AmanjCenter2Entity.msl;provider=System.Data.SqlClient;provider connection string=&amp;quot;data source=RABAR;initial catalog=MarketDatabase;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework&amp;quot;" providerName="System.Data.EntityClient" /&gt;
  &lt;/connectionStrings&gt;
You may need to use SQL Server Configuration Manager to enable TCP/IP connections.

The default is disabled, as below.  You must enable TCP/IP to allow remote connections to the SQL Server machine.