Re: Linked Server Connection Error: 18459
- From: "Ulysses" <ulysses@xxxxxxxxxxxxx>
- Date: Fri, 2 May 2008 07:10:39 -0400
I cannot execute the sqlcmd query against the linked server from sqlServer A to sqlServer B but I can run the linked server query from B to A.
From A to B I get the following error (which we have seen before):sqlcmd -d tempdb -q "select top 10 identifier from server.database.dbo.identifier"
Msg 18456, Level 14, State 1, Server WSV3DB03, Line 1
Login failed for user xxxxx\yyyyy.
Ping from A to B is successful and quick.
Telnet from A to B on port 1433 is successful.
The Profiler trace shows that the request actually makes it to Server B but is denied. (Event Class: Audit Login Failed, EventSubClass: 1 - Nonpooled, Error 18456, DatabaseName: master)
I do notice that the login is trying to connect to the master database via the linked server connection however this login is actually defauted to another user database. This should not make a difference as far as the login (access denied) error goes however since this "user/login" is sysadmin and is mapped to the master database and the user databases. I only get this error when trying to connect via linked server from A to B.
.
- Follow-Ups:
- Re: Linked Server Connection Error: 18459
- From: "Charles Wang [MSFT]"
- Re: Linked Server Connection Error: 18459
- References:
- RE: Linked Server Connection Error: 18459
- From: "Charles Wang [MSFT]"
- Re: Linked Server Connection Error: 18459
- From: Ulysses
- Re: Linked Server Connection Error: 18459
- From: "Charles Wang [MSFT]"
- RE: Linked Server Connection Error: 18459
- Prev by Date: Re: Linked Server Connection Error: 18459
- Next by Date: Sql 2000 Cheksum errors
- Previous by thread: Re: Linked Server Connection Error: 18459
- Next by thread: Re: Linked Server Connection Error: 18459
- Index(es):
Relevant Pages
|