Home > Knowledge Base > You may receive an error message when you try to run distributed queries from a 64-bit SQL Server 2005 client to a linked 32-bit SQL Server 2000 server or to a linked SQL Server 7.0 server

You may receive an error message when you try to run distributed queries from a 64-bit SQL Server 2005 client to a linked 32-bit SQL Server 2000 server or to a linked SQL Server 7.0 server

Se utilizzato SQL Server 2005 su una piattaforma a 64bit e cercate di creare un linked server verso un SQL Server 2000 vi potreste imbattere in un errore di questo tipo:

The stored procedure required to complete this operation could not be found on the server. Please contact your system administrator.
Msg 7311, Level 16, State 2, Line 1
Cannot obtain the schema rowset "DBSCHEMA_TABLES_INFO" for OLE DB provider "SQLNCLI" for linked server "<LinkedServerName>". The provider supports the interface, but returns a failure code when it is used.

Per risolvere questo problema seguite le istruzione riportate in questo articolo:

http://support.microsoft.com/default.aspx/kb/906954

Attenzione: una cosa che non è chiarissima nell’articolo è che il file instcat.sql da eseguire su SQL Server 2000 o su SQL Server 7 è sulle macchine dove c’è installato SQL Server 2000 o SQL Server 7 e NON sulla macchina SQL Server 2005.

Chi è Davide Mauri

Microsoft Data Platform MVP dal 2007, Davide Mauri si occupa di Data Architecture e Big Data nel mondo dell'IoT. Attualmente ricopre il ruolo di "Director Software Development & Cloud Infrastructure" in Sensoria, societa specializzata nella creazione di Wearables e sensori per l'IoT applicati a tessuti ed oggetti sportivi.

Leggi Anche

Missing Index… Cache

Qualche settimana fa un collega mi ha sottoposto un quesito la cui risposta coinvolge alcuni …