I'm doing a new topic in a tutorial, linked servers.
I can already access the other server and DBs on my network from Enterprise Manager and as a new connection in Query analyzer. (SQL Server 2000)
All seems to be in place, except when I try to query the linked server(COMQUAT).
SELECT *
FROM COMQUAT.pubs.JoeBlow.authors
JoeBlow is a user on COMQUAT with owner rights to pubs
I get "Login failed for user 'COMQUAT\Guest'."
What's this about 'guest'?
I did :
sp_addlinkedsrvlogin
@rmtsrvname = 'COMQUAT',
@useself = 'false',
@locallogin = 'Administrator',
@rmtuser = 'JoeBlow',
@rmtpassword = 'xxxxxxx'
I do a sp_linkedservers, and it shows COMQUAT ok.
It is listed in EM's linked server list, but when I click on tables icon, I get the same error as above.
Maybe I don't need to know this stuff if I'm going to be using
mainly ASP.net, web services, etc?
I can already access the other server and DBs on my network from Enterprise Manager and as a new connection in Query analyzer. (SQL Server 2000)
All seems to be in place, except when I try to query the linked server(COMQUAT).
SELECT *
FROM COMQUAT.pubs.JoeBlow.authors
JoeBlow is a user on COMQUAT with owner rights to pubs
I get "Login failed for user 'COMQUAT\Guest'."
What's this about 'guest'?
I did :
sp_addlinkedsrvlogin
@rmtsrvname = 'COMQUAT',
@useself = 'false',
@locallogin = 'Administrator',
@rmtuser = 'JoeBlow',
@rmtpassword = 'xxxxxxx'
I do a sp_linkedservers, and it shows COMQUAT ok.
It is listed in EM's linked server list, but when I click on tables icon, I get the same error as above.
Maybe I don't need to know this stuff if I'm going to be using
mainly ASP.net, web services, etc?