My friend and I are developing a web application project. The SQL server is located here in Laos while he is in the Philippines. I tried to create a connection string but it gives me a "system.componentmodel.win32exception:the wait operation timed out".
Below is my connection string:
string con = "Data Source=public ip,1433; Network Library=DBMSSOCN; Initial Catalog=MyDB; TrustServerCertificate=True; User ID=myUser; Password=myPass";
string con = "Data Source=public ip,1433; Network Library=DBMSSOCN; Initial Catalog=MyDB; TrustServerCertificate=True; User ID=myUser; Password=myPass";
Hoping someone can assist me in this. Thanks in advance.


Sourav MukherjeeRank #850 · 2.6K reputationPosted Dec 5, 2018, 5:29 PM EST
Kapil GaurRank #390 · 6.4K reputationPosted Dec 5, 2018, 5:49 PM EST
Kapil GaurRank #390 · 6.4K reputationPosted Dec 5, 2018, 5:56 PM EST
Vincent Maverick DuranoRank #238 · 10.3K reputationPosted Dec 5, 2018, 6:04 PM EST
Jignesh KumarRank #91 · 22.9K reputationPosted Dec 5, 2018, 7:15 PM EST
Jes SieRank #1,285 · 1.3K reputationPosted Dec 11, 2018, 4:42 PM EST
Jignesh KumarRank #91 · 22.9K reputationPosted Dec 11, 2018, 5:02 PM EST