7
Answers

How to create a public connection string

Jes Sie

Jes Sie

6y
1.3k
1

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"; 
 
Hoping someone can assist me in this. Thanks in advance. 
Answers (7)