Article ID: 247931 - Last Review: December 3, 2007 - Revision: 7.5 Authentication methods for connections to SQL Server in Active Server PagesThis article was previously published under Q247931 SUMMARY Both SQL Server authentication (standard security) and
Windows NT authentication (integrated security) are SQL Server authentication
methods that are used to access a SQL Server database from Active Server Pages
(ASP). Note This article does not apply to Microsoft Windows 2000 Active Directory domains. The Microsoft Windows NT authentication model that is discussed in this article only applies to Windows NT domains. MORE INFORMATIONSQL Server authenticationSQL Server authentication relies on the internal user list maintained by the SQL Server computer. This list does not include Windows NT users, and is specific to the SQL Server computer. Users are created and configured using the SQL Server Enterprise Manager. To use this authentication method, perform with the following steps:
Windows NT authenticationThe computer running SQL Server enables access to its data through Windows NT accounts. To enable Windows NT authentication, through the Internet Information Server (IIS) computer, Basic authentication must be enabled for the Web application. To do this, perform the following:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E4D) [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user '\'. Microsoft OLE DB Provider for ODBC Drivers error '80040e4d' [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'. REFERENCESFor more information, see the following book: John Connell Coding Techniques for Microsoft Visual Basic .NET
(http://shopping.msn.com/prices/coding-techniques-for-microsoft-visual-basic-net/itemid25624957/?itemtext=itemname:coding-techniques-for-microsoft-visual-basic-net)
Microsoft Press, 2001 For more information, see the following Microsoft Training &
Certification courses: Note This book is currently out of print. Microsoft Corporation 2389 Programming with ADO.NET
(http://www.microsoft.com/learning/syllabi/en-us/2389Bfinal.mspx)
Microsoft Corporation 2073 Programming a Microsoft SQL Server 2000 Database
(http://www.microsoft.com/learning/syllabi/en-us/2073bfinal.mspx)
For
additional information about Windows 2000 authentication methods, click the
following article number to view the article in the Microsoft Knowledge Base: 287537
(http://support.microsoft.com/kb/287537/
)
Using Basic Authentication to Generate Kerberos Tokens
APPLIES TO
| Article Translations
|

Back to the top
