Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Login   (RSS)

Connectionstrings, mixing usernames and windows authentication. Who goes first?

When connecting to Sql Server from .Net, there are three namespaces containing classes to do so: System.Data.SqlClient / System.Data.OleDb / System.Data.Odbc The one should use is System.Data.SqlClient since this contains functions specific to Sql Server,
Posted by maspeng | 1 Comments
Filed under: , , ,

Error/Event 18456 explained

Sometimes you may experience that your application, stand alone or web, can't connect to SQL Server. This error is simply reported as 18456, and the error text is "Login failed for user ‘username'" Well, you already had understood that you could not login
Posted by maspeng | 0 Comments
Filed under:
 
Page view tracker