I am trying to connect to a MS-SQL server on the internet. What should I put on the ServerName parameter of SQLConnect?
I\'ve tried this, but it fails:
Here is a trick with SQL Server Connection Strings. Create a file on you desktop called test.udl. Once created, double click and open the file. You will be prompted to set up the Database Connection. Configure the connection as needed. When Finished, test the connection. Finally close the wizard. Then right click the test.udl file and open with notepad. You will see the connection string you created.