I was able to connect to remote SQL server through SQLDMO residing my hosting server. There was no issue. Now as I've Just switched to the new hosting provider, I can connect to the database server through SQL server management studio but SQLDMO I cannot connect anymore.
Here is my VB.NET code:
Dim oServer as New SQLDMO.SQLServer2
oServer.EnableBcp = True
oServer.Connect(pServer, pUserName, pPassword)
At third line an error pops up saying:
"[Microsoft][ODBC SQL Server Driver][DBNETLIB]Invalid connection. [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (Invalid Instance())."