I have written a windows form which connects to SQL. It works! I'm now trying to running it 'remotely' from another country. It fails!!
When I connect from the remote location, I get the SQL error : "Login failed for user. The user is not associated with a trusted SQL Server connection. "
I have logged onto the server, right click on the name, properties, security and it shows mixed mode.
My connection string: sConn = @"Data Source=22.214.171.124,1433;Integrated Security=True;User ID=aloco; Password=xxx; Initial Catalog = " + cbDBNo.Text + ";";
View Complete Post