December 19, 2005 at 9:53 am
Hi experts,
I am in Server A and querying Server B from SQL query analyzer by : select * from [ServerB].[database name].[owner name].
.
I received error: Server is not configured for DATA ACCESS.
I checked server B and saw Server A is one of the linked server (under Linked Servers of Security). And under linked server properties=>server option, the data access is checked.
Then I run : exec sp_serveroption 'Server B', 'data access', 'true'
and I got another error message when I query the linked server:
Server: Msg 18456, Level 14, State 1, Line 1
Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
What should I do now?
December 19, 2005 at 10:11 am
It sounds like you need to tell server A which login account to use for accessing server B.
December 19, 2005 at 1:55 pm
can you guide me to it?
December 19, 2005 at 4:53 pm
U have to use SQL Login id only. NT autntication will not work with linked servers. Make sure u have a common login on both the servers and under SECURITY tab select 'Be Made Using the login's Current security context'.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy