MrDavidThorn
asked on
Linked server does not work on SQL server instance but work on another
Hi Experts
I have a linked server that works fine on the local (default) server istance, I have created a script from the linked server and run it on a different server instance on the same box with the same credentials.
When I try and query the linked server on the different SQL server instance , I get the error message that the table doesnt exsit or the current user does not have permissions on that table.
The table does exsit and I can use the same syntax on the default instance and it works as expected.
Has anybody else had this problem and do they know how to resolve it?
I have a linked server that works fine on the local (default) server istance, I have created a script from the linked server and run it on a different server instance on the same box with the same credentials.
When I try and query the linked server on the different SQL server instance , I get the error message that the table doesnt exsit or the current user does not have permissions on that table.
The table does exsit and I can use the same syntax on the default instance and it works as expected.
Has anybody else had this problem and do they know how to resolve it?
ASKER
I used the script from the default instance, so they are exactly the same
ASKER
It must be some sort of permissions issue, though I have also logged on as the sever admin account, could there be a port being blocked?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You sould try and add the Linked server on the instance the same way or in SSMS instead and generate script from there to see the differences.