I'm new to C #, and I'm trying to connect my C # application remotely with a SQL Server database that is on another PC (the PC is not on the same network, it's my friend's), but it is giving error. A before they say that I have already set up the firewall , I have already released the port.
ConnectionString:
<add name="connectionString"
providerName="System.Data.SqlClient"
connectionString="Data Source = xxx.xxx.xx.xx\nomeDoHost\(instacia padrão SQLEXPRESS), (porta padrão 1433);
Network Library = DBMSSOCN;
Initial Catalog = nome do banco;
User ID = usuario;Password = senha"/>
Just to be sure the ip that goes on xxx.xxx.xx.xx there is what I find here né: link
Exception: