Microsoft Knowledge Base Email Alertz

KBAlertz.com: (295255) - 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'.

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **


Bug Tracking Software
For bug tracking software or defect tracking software or issue tracking software, visit Axosoft.


Community Site



We Send hundreds of thousands of emails using ASP.NET Email



Expert Web Design & Graphic Design
Design44.com

ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **




Mentioned In








Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks




Article ID: 295255 - Last Review: November 14, 2007 - Revision: 5.2

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

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).

On This Page

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 "Security Account Delegation" 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 (http://technet.microsoft.com/en-us/sqlserver/bb331756.aspx)

MORE INFORMATION

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 "Symptoms" section of this article.

APPLIES TO
  • Microsoft Office Access 2007
  • Microsoft Office Access 2003
  • Microsoft Access 2002 Standard Edition, when used with:
    • the operating system: Microsoft Windows 2000
Keywords: 
kbtshoot kbexpertiseinter kbadp kbclientserver kberrmsg kbprb KB295255
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Be the first to leave feedback, to help others about this knowledge base article.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please