The information in this article applies to:
SYMPTOMS
Visual Studio 6.0 and the Data Access 2.0 Software Development Kit (SDK)
both install a version of the SQL Server ODBC Driver (and OLE DB Provider)
that is more current than the file found in the latest SQL Server Service
Pack. Additionally, neither setup invokes the Instcat.sql script that is
needed to finish configuration of the SQL Server driver/provider. This
creates unexpected errors in various products at different times.
When you click OK, you see another error: Click OK again and repeat the operation. This time the operation is successful. CAUSE
When a new version of the SQL Server ODBC Driver is installed by a SQL
Server Service Pack (or by SQL Server), the Instcat.sql executes and helps
configure the driver for operation. The SQL Server OLE DB Provider has the
same dependency upon the execution of the Instcat.sql as the SQL Server
ODBC Driver. Visual Basic 6.0, when installing either driver or provider,
does not execute the Instcat.sql file, which then causes the preceding
errors.
RESOLUTIONTo work around this problem, run the Instcat.sql file from your SQL Server. Instcat.sql is installed but not executed by Visual Studio 6.0 and the Data Access SDK 2.0. You may have more than one Instcat.sql file on your computer in different sub-directories. Make sure that you execute the file dated 6/5/98 or later. STATUSThis behavior is by design. MORE INFORMATIONIf you are uncertain whether the latest Instcat.sql has been executed with your SQL Server, you can execute the sp_server_info system stored procedure with one parameter = 500. From ISQL run the following line in a new query:
If the latest Instcat.sql dated 6/5/98 has been run, you should see the
following information display:
If 6.50.193 is listed in the attribute_value column, the latest file has
not been executed.
Steps to Reproduce Behavior
REFERENCESFor additional information, please see the following article in the Microsoft Knowledge Base: Q137636 INF: Relationship of the ODBC Driver to INSTCAT.SQL © Microsoft Corporation 1998, All Rights Reserved. Additional query words: kbODBC kbOLEDB kbSQLServ kbDatabase kbSDKDataAc kbVBp600 kbdse kbDSupport kbVBp
Keywords : |
Last Reviewed: August 23, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |