The .NET connection string must specify “IP=” and not “Server=” when the .NET connection string is used in a VB.net program from within Visual Studio 2010. For example:
Dim str_conn As String = "IP=xx.xx.xxx.xxx;Port=port_num;UID=user_id;DBNAME=database_name;PWD=password;CommandTimeout=-1"