Microsoft KB Archive/295255

= Error message when you try to link a table in an Access project: &quot;Login Failed for User 'NT AUTHORITY\ANONYMOUS LOGON'.&quot; =

Article ID: 295255

Article Last Modified on 11/14/2007

-

APPLIES TO


 * Microsoft Office Access 2007
 * Microsoft Office Access 2003
 * Microsoft Access 2002 Standard Edition, when used with:
 * Microsoft Windows 2000 Standard Edition

-



This article was previously published under Q295255



Advanced: Requires expert coding, interoperability, and multiuser skills.

This article applies only to a Microsoft Access project (.adp).



SYMPTOMS
When you try to link a table in a Microsoft Access project (.adp), you may receive the following error message:

Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.



CAUSE
You are not using a Windows 2000-based computer with Security Account Delegation enabled; therefore, Windows 2000 Security is not supported between servers. Without Security Account Delegation enabled, SQL Server tries to log on to the Linked Server anonymously.



RESOLUTION
To avoid this behavior, use one of the following workarounds:  Specify a SQL Server logon and password that is valid on the linked server. Enable Security Account Delegation between the SQL Servers. To support this option, both SQL Servers must be running on Windows 2000.

For more information, see the &quot;Security Account Delegation&quot; topic in SQL Server 2000 Books Online, which is available for download at the following Microsoft Web site:

http://technet.microsoft.com/en-us/sqlserver/bb331756.aspx





Steps to reproduce the behavior in Access 2003 and in earlier versions of Access

 * 1) On a Windows 2000-based computer that does not have Security Account Delegation enabled, create a new Access project, and then connect to SQL Server data using Windows NT Integrated Security.
 * 2) On the File menu, point to Get External Data, and then click Linked Tables.
 * 3) In the Link Table Wizard dialog box, click Linked Server, and then click Next.
 * 4) In the Select Data Source dialog box, click New Source.
 * 5) In the Data Connection Wizard dialog box, click Microsoft SQL Server, and then click Next.
 * 6) In the Server Name box, enter a different server name from the one that you connected to in step 1.
 * 7) Click Use Windows 2000 Security, and then click Next.
 * 8) Select a database to connect to, click Next, and then click Finish.
 * 9) Select your new Office Database Connection (.ODC) file in the Select Data Source dialog box, and then click Open.
 * 10) Select one of the tables, and move it to the Link to Project box. Click Next.
 * 11) Click Finish.

Note that you receive the error message that is mentioned in the &quot;Symptoms&quot; section of this article.

Additional query words: prb ACC2002 ACC2003 ACC2007

Keywords: kberrmsg kbtshoot kbprb kbclientserver kbadp kbexpertiseinter KB295255

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.