linked server problems

From: Matt Tapia (mtapia_at_inbizservices.com)
Date: 06/01/04


Date: Tue, 1 Jun 2004 13:59:25 -0500

I do the following to link a server:

EXEC sp_addlinkedserver 'MainLinkedServer', 'SQLServer OLEDB Provider',
'SQLOLEDB', 'MATT', NULL, NULL, 'WEEK'

It says it links fine (no errors), but when I do a select on a table I know
exists

select distinct T1."Institution" c1 from 'MainLinkedServer'...myTable T1

I get the following error:

OLE DB provider 'MainLinkedServer'does not contain table 'myTable'. The
table either does not exist or the current user does not have permissions on
that table.

OLE DB error trace [Non-interface error: OLE DB provider does not contain
the table: ProviderName='MainLinkedServer', TableName='myTable'].

any ideas?



Relevant Pages

  • Re: Biztalk 2004 problem after SP1 for 2003
    ... 'SQLOLEDB' ITransactionJoin::JoinTransaction ... specified transaction coordinator. ... OLE DB Provider for SQL Server" ...
    (microsoft.public.biztalk.general)
  • Linked server to as400 - for the love of god please help.
    ... i'm trying to setup a linked server between SQL Server and an AS400/DB2/IBM ... OLE DB provider 'MSDASQL' reported an error. ... OLE DB error trace [OLE/DB Provider 'IBMDA400' IColumnsInfo::MapColumnIDs ...
    (microsoft.public.sqlserver.server)
  • Fehlermeldung bei Transaktionen
    ... The operation could not be performed because the OLE DB ... OLE DB error trace [OLE/DB Provider 'SQLOLEDB' ...
    (microsoft.public.de.sqlserver)
  • Problem with Linked Server from SQL to DB2
    ... I'm trying to setup a linked server from SQL to DB2 UDB. ... Microsoft provided OLE DB driver for DB2 and the IBM DB2 OLE DB ... -- Invalid schema or catalog specified for provider 'IBMDADB2'. ...
    (microsoft.public.data.oledb)
  • RE: Samplclnt example in MDAC 2.8: My Story
    ... | OLE DB provider/consumer sample that is included in the MDAC 2.8 SDK. ... | what the consumer client uses to read the rudimentary .csv data file. ... | compiler errors. ... | sample OLE DB provider. ...
    (microsoft.public.data.oledb)