An invalid schema or catalog was specified for the provider “SQLNCLI” for linked server “server name”

 

ERROR:

An invalid schema or catalog was specified for the provider “SQLNCLI” for linked server “server name”

EXPLANATION:

Suppose you have a linked server named “Contoso”.

We get this error when we want to query a table named “Customers” from a database named “Management” on the Contoso server from another server as follows.

SOLUTION:

Make sure that you use Fully Qualified Name in the queries you use in Linked Server. The draft of this is as follows:

[Linked Server Name].[Database Name].[Schema Name].[Object Name]

Example:

Ekrem Önsoy
Author: Ekrem Önsoy

The original article was written in Turkish by Ekrem Önsoy and translated to English by dbtut with the consent of the author. The copyright of the article belongs to the author. The author shall not be liable in any way for any defect caused by translation.

Leave a Reply

Your email address will not be published. Required fields are marked *