I need to connect to a SQL Server service on a remote server via SQLConnection, C #. Initially, it was giving the server could not be found, but I solved this by modifying the system32 hosts file, enabling exception on the server firewall and enabling the SQL Server Browser. However, he now gives me an exception saying "Timeout has been reached" when trying to open connection to the bank. What should I do?
Here's the connection string example I'm using: "Data Source = xxx.xxx.xxx.xxx / MSSQLSERVER, 1433; Database = myBank; User Id = sa; Password = ************;"