Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 linked server

Author  Topic 

jung1975
Aged Yak Warrior

503 Posts

Posted - 2005-12-16 : 12:29:19
I have added a linked server( 11.11.11.111) on my local SQL server.
But, when I click on the table inside the linked server manager, I can only see the few tables with master catalog with it .Why I can't see all of the tables in all databases? Do you think it is related to the permission issue? I can see all the table in (11.11.11.111) server if I log into that server directly though..



Below is the command that I used to add a linked server


EXEC sp_addlinkedserver
@server=LINKEDSERVER,
@srvproduct = 'SQLServer OLEDB Provider',
@provider = 'SQLOLEDB',
@datasrc = '[11.11.11.111]'


EXEC sp_addlinkedsrvlogin
@rmtsrvname='LINKEDSERVER',
@useself='false',
@rmtuser='test',
@rmtpassword='test123'


Srinika
Master Smack Fu Yak Hacker

1378 Posts

Posted - 2005-12-16 : 12:39:41
Do u log to the Remote Server "Directly" with the same user /pswd when logging in "Remotely" ?
Then c whether u can c those tables.
Check the permission of the user 'test' - whether it can c the corresponding DataBase / Tables
Go to Top of Page

jung1975
Aged Yak Warrior

503 Posts

Posted - 2005-12-16 : 12:54:42
yes, I can see all of the tables when I log to the remote server directly uisng test/test123.


Go to Top of Page
   

- Advertisement -