We help IT Professionals succeed at work.
Get Started

linked server does not contain the table Error

Last Modified: 2012-05-09
Hi ,

I am trying to write to atable in a linked server and  I get the following error:
The OLE DB provider "SQLNCLI" for linked server "TShultz" does not contain the table ""dbo"."SamManager"."RemotePreValidateLibraryInfo"". The table either does not exist or the current user does not have permissions on that table.

The Table is in the linked server database. The Linked Server Name is "TSHULTZ" and the Database name is "SamManager"
I am writing to this database via a linked server to other tables.
Any help is greatly appreciated.

My execute query is:
INSERT INTO [TShultz].dbo.SamManager.RemotePreValidateLibraryInfo (JobID, UserID, Barcode, Status, DeviceName, InSystem) SELECT     'TestJob' AS JobID, 'Traci' AS UserID, dbo.TubeInfo.TubeInfoID AS Barcode, NULL AS status, dbo.RackInfo.DeviceName, dbo.RackInfo.InSystem
                                                FROM         dbo.RackInfo INNER JOIN
                                                                                dbo.TubeInfo ON dbo.RackInfo.RackInfoID = dbo.TubeInfo.RackInfoID AND dbo.RackInfo.DeviceName = dbo.TubeInfo.DeviceName INNER JOIN
                                                                                dbo.TempMasterList ON dbo.TubeInfo.TubeInfoID = dbo.TempMasterList.Barcode
                                                WHERE     (dbo.RackInfo.DeviceName = 'SAMRobotics2222')
Watch Question
This problem has been solved!
Unlock 1 Answer and 2 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE