Thought I'd get in on all the recent C# action 
I am unable to connect to an SQL Server on another machine. It allows me to connect locally (the code, run from the other machine with server=localhost works), but not from a remote machine. Sometimes it times out, other times it says
I am using SQL Server Management Studio. Remote connections are enabled.
Again, the same code transplanted and run on the server works.
I am unable to connect to an SQL Server on another machine. It allows me to connect locally (the code, run from the other machine with server=localhost works), but not from a remote machine. Sometimes it times out, other times it says
Connecting... System.Data.SqlClient.SqlException: Login failed for user ''. The user is not associated with a trusted SQL Server connection.
I am using SQL Server Management Studio. Remote connections are enabled.
Again, the same code transplanted and run on the server works.