On a Windows Vista-based computer, the SQLDescribeCol function and the SQLColAttribute function return the incorrect value of 2147483598 instead of the expected value of 255

Article translations Article translations
Article ID: 940895 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

On a Windows Vista-based computer, assume that you run an application that uses either the SQLDescribeCol function or the SQLColAttribute function to query the information for column length in a result set. In this situation, the query incorrectly returns the value of 2147483598 instead of the expected value of 255.

CAUSE

This problem occurs because of an error in a Microsoft Access ODBC driver that is included with Windows Vista.

Note This ODBC driver is Odbcjt32.dll, version 6.00.6000.16386.

RESOLUTION

Service pack information

To resolve this problem, obtain the latest service pack for Windows Vista.

For more information, click the following article number to view the article in the Microsoft Knowledge Base:
935791 How to obtain the latest Windows Vista service pack

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

No prerequisites are required.

Restart requirement

You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other previously released hotfixes.

Registry information

To use this hotfix, you do not have to make any changes to the registry.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Windows Vista, x86-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Update.mumNot Applicable1,99331-Jul-200714:04Not Applicable
X86_43a070daa4b7e01f8c103ef2ae3c480d_31bf3856ad364e35_6.0.6000.20650_none_786207e5e1f3c782.manifestNot Applicable74131-Jul-200714:04Not Applicable
X86_microsoft-windows-m..-mdac-odbc-jet-jt32_31bf3856ad364e35_6.0.6000.20650_none_5188fe3b7e622218.manifestNot Applicable12,59931-Jul-200714:04Not Applicable
Odbcjt32.dll6.0.6000.20650315,39231-Jul-200702:16x86
Windows Vista, x64-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Amd64_43a070daa4b7e01f8c103ef2ae3c480d_31bf3856ad364e35_6.0.6000.20650_none_d480a3699a5138b8.manifestNot Applicable74331-Jul-200714:04Not Applicable
Update.mumNot Applicable1,84131-Jul-200714:04Not Applicable
X86_microsoft-windows-m..-mdac-odbc-jet-jt32_31bf3856ad364e35_6.0.6000.20650_none_5188fe3b7e622218.manifestNot Applicable12,59931-Jul-200714:11Not Applicable
Odbcjt32.dll6.0.6000.20650315,39231-Jul-200702:16x86

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

The problem may also occur in other Access ODBC drivers. If you use Microsoft Data Access Components (MDAC) version 2.5, apply hotfix 272951.

For more information about hotfix 272951, click the following article number to view the article in the Microsoft Knowledge Base:
272951 FIX: Microsoft Access/Jet ODBC driver returns Size of 2 gigabytes for computed text columns
If you use the Access ODBC driver (Aceodbc.dll) that is included with 2007 Microsoft Office system, apply hotfix 941877.

For more information about hotfix 941877, click the following article number to view the article in the Microsoft Knowledge Base:
941877 Description of the Access 2007 hotfix package: February 26, 2008
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

Properties

Article ID: 940895 - Last Review: October 8, 2011 - Revision: 2.0
APPLIES TO
  • Windows Vista Enterprise 64-bit Edition
  • Windows Vista Home Basic 64-bit Edition
  • Windows Vista Home Premium 64-bit Edition
  • Windows Vista Ultimate 64-bit Edition
  • Windows Vista Business
  • Windows Vista Business 64-bit Edition
  • Windows Vista Enterprise
  • Windows Vista Home Basic
  • Windows Vista Home Premium
  • Windows Vista Ultimate
Keywords: 
kbautohotfix kbexpertiseadvanced kbfix kbqfe kbHotfixServer KB940895

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com