Quantcast
Channel: SQL Server Setup & Upgrade forum
Viewing all articles
Browse latest Browse all 7696

Issue Using Synonyms with Linked Servers

$
0
0

We've been dealing with an issue to try to call a query using a Synonym from a Linked Server.

I have admin rights to all Instances, it is not a Permissions issue that I can see.

I have updated to SP2 (which I read before was to handle this issue)

Server has been rebooted, etc, etc.

In it's simplest form:

If I call this from another Instance:

select * from [PARASQL1\PARA_EOM].Parallel_PM.dbo.acHist

I get the following error

Msg 7357, Level 16, State 2, Line 1

Cannot process the object ""Parallel_PM"."dbo"."achist"". The OLE DB provider "SQLNCLI10" for linked server "PARASQL1\PARA_EOM" indicates that either the object has no columns or the current user does not have permissions on that object.

If I execute the same query spelling out the reference to the Synonym it works fine.

For example if I call these from a query window on PARA_PROD the one that uses a Synonym does not work correctly, but if I call it locally from PARA_EOM it works fine.

--this works

select * from [PARASQL1\PARA_EOM].[PARALLEL_201304].[dbo].[achist]

I'm still very new to all this, so any help is greatly appreciated!


Viewing all articles
Browse latest Browse all 7696

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>