Masalah LINK server dari 64 Bit ke 32 Bit

Jika anda membuat suatu LINK Server di SQL Server 64 Bit, dimana LINK server tersebut akan membaca server dengan 32 Bit.

Anda akan menerima error seperti berikut :

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.

Untuk mengatasinya, anda login ke server 32-bit.

Kemudian cari lokasi file :  Instcat.sql, jika sudah ketemua misalnya di C:\Windows\System32, maka gunakan instruksi berikut dari command prompt.

Untuk Windows Authentication :
osql -E -S <Nama Server/IP> -i c:\windows\system32\instcat.sql

Untuk User Authentication :
osql -U <AdminLogin> -P <AdminPassword> -S <LinkedServerName> -i <Location>\instcat.sql

This entry was posted in Teknis and tagged , , . Bookmark the permalink.

Leave a Reply

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