Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase 12»»

Linked Server Setup Error...Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON' Expand / Collapse
Author
Message
Posted Monday, July 30, 2012 12:46 PM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Monday, November 17, 2014 2:08 PM
Points: 321, Visits: 1,290
Hi guys
I am trying to setup linked server connection and i am getting error message shown below.
Can anyone help me out to identify the root cause please?
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'. (Microsoft SQL Server, Error: 18456)

Thanks.




Aim to inspire rather than to teach.
SQL Server DBA
Post #1337470
Posted Monday, July 30, 2012 12:53 PM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Friday, November 14, 2014 10:58 AM
Points: 2,706, Visits: 3,426
How are you configuring the security on the linked server object?

Thanks,

Jared
SQL Know-It-All

How to post data/code on a forum to get the best help - Jeff Moden
Post #1337476
Posted Monday, July 30, 2012 12:58 PM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Monday, November 17, 2014 2:08 PM
Points: 321, Visits: 1,290
I am Configuring with my Login as i am sysadmin on Both server...
Local Login - domain\MSSQL
Impersonate - yes

when i am selecting any of the option from below 4 options i am getting error.


Aim to inspire rather than to teach.
SQL Server DBA
Post #1337481
Posted Monday, July 30, 2012 1:07 PM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Friday, November 14, 2014 10:58 AM
Points: 2,706, Visits: 3,426
So, your login is domain\MSSQL?

Thanks,

Jared
SQL Know-It-All

How to post data/code on a forum to get the best help - Jeff Moden
Post #1337485
Posted Monday, July 30, 2012 1:10 PM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Monday, November 17, 2014 2:08 PM
Points: 321, Visits: 1,290
Yes and its windows Authentication...

My login : domain_name\logicinside


Aim to inspire rather than to teach.
SQL Server DBA
Post #1337488
Posted Monday, July 30, 2012 1:13 PM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Friday, November 14, 2014 10:58 AM
Points: 2,706, Visits: 3,426
I'm confused... What are you using to log into SQL Server and what are you using for the linked server creds? Also, see this: http://technet.microsoft.com/en-us/library/ms189580%28v=sql.105%29.aspx You need these requirements met for impersonation.

Thanks,

Jared
SQL Know-It-All

How to post data/code on a forum to get the best help - Jeff Moden
Post #1337491
Posted Monday, July 30, 2012 3:00 PM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Monday, November 17, 2014 2:08 PM
Points: 321, Visits: 1,290
Hi
I am using xyz\logicinside ( i can't write domain name because of privacy) using same credential for linked server creds. The same name shows in drop down list Local Login in Security tab in Linked Server.
and it is windows authenticated.


Aim to inspire rather than to teach.
SQL Server DBA
Post #1337558
Posted Monday, July 30, 2012 3:04 PM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Friday, November 14, 2014 10:58 AM
Points: 2,706, Visits: 3,426
1. read the link I posted in the previous post.
2. I don't assume anything, so both machines are on xyz domain and your user is sysadmin on both instances?

My guess is that there are some problems with delegation, so focus on the article I posted.


Thanks,

Jared
SQL Know-It-All

How to post data/code on a forum to get the best help - Jeff Moden
Post #1337562
Posted Monday, July 30, 2012 3:09 PM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Friday, November 14, 2014 10:58 AM
Points: 2,706, Visits: 3,426
If you remote into serverA and use SSMS there, do you get the same error? My guess is no.

Thanks,

Jared
SQL Know-It-All

How to post data/code on a forum to get the best help - Jeff Moden
Post #1337566
Posted Monday, July 30, 2012 3:23 PM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Monday, November 17, 2014 2:08 PM
Points: 321, Visits: 1,290
No .. i can connect easily..

Aim to inspire rather than to teach.
SQL Server DBA
Post #1337576
« Prev Topic | Next Topic »

Add to briefcase 12»»

Permissions Expand / Collapse