Wednesday, 27 January 2010

System.Data.SqlClient.SqlException (0x80131904): Login failed for user

If you are trying to login into a MSSQL database using a SQL account code (SQL server authentication) and not a windows account and are getting this error when you are sure the account and password are correct; try checking the 'Server Authentication' setting on the server and make sure it allows both types of access.


No comments: