I am writing a .Net console application. Using MS SQL 2005 and .Net 4. To connect to SQL I am using the SqlConnection class. The code works just fine on my local machine against my local db. However, when I change the connection string to point to a network SQL server, it throws an exception indicating that the login failed. I know the credentials work against the db as they are the same credentials that many of our web apps are using and they have no problem. I get the same result (against the remote SQL server) running the code either locally or on another server. Can anyone shed some light on this?