Connection string for SQL Server Express on remote Computer login failed error
问题 I recently asked the question at this address: Remote SQL Server connection string That thread has helped us arrive at this connection string: SqlConnection connection= new SqlConnection("Server=2.221.1.145;Database=Database;User Id=Andy-PC\\Andy;Password=mypass"); This throws the error: Login failed for user 'Andy-PC\Andy' This user owns the database and i guess should have access to it....however I remember when trying this style of authentication locally it did not work - which is why I