Microsoft Knowledge Base Email Alertz

(127734) - The ODBC Driver Manager and the Cursor Library must have the same cursor level. ODBC.DLL and ODBCCURS.DLL are the corresponding files in 16-bit Windows. ODBC32.DLL and ODBCCR32.DLL are the corresponding files in 32-bit Windows. Attempting to use these...

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 127734 - Last Review: November 21, 2006 - Revision: 5.2

How to make sure that the ODBC.DLL and the ODBCCURS.DLL have the same cursor level in Visual C++

This article was previously published under Q127734

On This Page

SUMMARY

The ODBC Driver Manager and the Cursor Library must have the same cursor level. ODBC.DLL and ODBCCURS.DLL are the corresponding files in 16-bit Windows. ODBC32.DLL and ODBCCR32.DLL are the corresponding files in 32-bit Windows.

Attempting to use these dynamic link libraries with mismatched cursor levels will cause the cursor library to fail to load. If the cursor library fails to load, the recordset will be a forward-only, read-only recordset. The following message may appear in the trace output when this condition exists:
Cursor library not used. Version mismatch with driver manager
State:01000[Microsoft][ODBC DLL]
In some older versions of ODBC.DLL, this message may not appear even if the Driver Manager and Cursor Library do not match.

MORE INFORMATION

To make sure that the Driver Manager and Cursor Library have the same cursor level:

  1. Open File Manager and go to the \WINDOWS\SYSTEM subdirectory.
  2. Highlight the file ODBC.DLL (or ODBC32.DLL) and press ALT+ENTER or choose Properties from the File menu.
  3. In the Version Information section of the dialog box that appears, select cursor level and note the level indicated.
  4. Follow steps 1 through 3 for the ODBCCURS.DLL (or ODBCCR32.DLL) file. If the cursor levels are not the same, the Driver Manager and Cursor Library do not match.

What to do If the Driver Manager and Cursor Library do not match

If the Driver Manager and the Cursor Library do not match, reinstall the latest version of Microsoft Data Access Components (MDAC) from the following Microsoft Web site:
http://msdn.microsoft.com/en-us/data/aa937729.aspx (http://msdn.microsoft.com/en-us/data/aa937729.aspx)
If the cursor level for the Driver Manager and Cursor Library do match, but the trace message listed earlier in this section still appears in the output, check to make sure that an older version of the DLLs are not anywhere in the path of the program. You can also use the Component Checker Utility to verify MDAC installation. For more information on Component Checker, click the following article number to view the article in the Microsoft Knowledge Base:
307255  (http://kbalertz.com/Feedback.aspx?kbNumber=307255/ ) Component Checker: Diagnose problems and reconfigure MDAC installations

APPLIES TO
  • Microsoft Foundation Class Library 4.2, when used with:
    • Microsoft Visual C++ 1.5 Professional Edition
    • Microsoft Visual C++ 1.51
    • Microsoft Visual C++ 1.52 Professional Edition
    • Microsoft Visual C++ 2.0 Professional Edition
    • Microsoft Visual C++ 2.1
    • Microsoft Visual C++ 2.2
    • Microsoft Visual C++ 4.1 Subscription
    • Microsoft Visual C++ 4.2 Enterprise Edition
    • Microsoft Visual C++ 4.2 Professional Edition
    • Microsoft Visual C++ 5.0 Enterprise Edition
    • Microsoft Visual C++ 5.0 Professional Edition
    • Microsoft Visual C++ 6.0 Enterprise Edition
    • Microsoft Visual C++ 6.0 Professional Edition
    • Microsoft Visual C++, 32-bit Learning Edition 6.0
  • Microsoft Data Access Components 1.5
  • Microsoft Data Access Components 2.0
  • Microsoft Data Access Components 2.1
  • Microsoft Data Access Components 2.5
  • Microsoft Data Access Components 2.6
  • Microsoft Data Access Components 2.7
Keywords: 
kbinfo kbdatabase kbenv kbhowto KB127734
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate