Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

When an application requests a result set from new SQL Server 2008 collations, you may receive an "MSG 40242" or "MSG 40205" error when the ODBC driver for SQL Server is used or an "MSG 40234" error when the SQL OLE DB pro...


View products that this article applies to.

Symptoms

Consider the following scenario:
  • You have data that is stored in one of the new Microsoft SQL Server 2008 collations.
  • You have an application on a computer that is running one of the following operating systems:
    • Windows XP
    • Windows Server 2003
    • Windows Vista
    • Windows Server 2008
In this scenario, you may experience one of the following symptoms:

Symptom 1

You receive an error message when the following conditions are true:
  • The application uses the Open Database Connectivity (ODBC) driver or the SQL OLE DB provider to request a result set.
  • The result set contains a column that uses one of the new collations.
  • The column is defined as the SQLTEXT type, the SQLBIGCHAR type, or the SQLBIGVARCHAR type.
If the application uses the ODBC driver, you receive the following error message:
Msg 40242

Unable to resolve column level collations system
If the application uses the SQL OLE DB provider, you receive the following error message:
Msg 40234

Unicode conversion failed. Code page of server not on client

Symptom 2

The connection to the new SQL Server 2008 collations is closed, and an error message is logged in the SQL Server Error log file when the following conditions are true:
  • The application uses the Open Database Connectivity (ODBC) driver or the SQL OLE DB provider to request a result set.
  • The result set contains data of the SQL_VARIANT data type.
  • The data is stored in one of the new collations, and the SQL_VARIANT data contains the SQLTEXT type, the SQLBIGCHAR type, or the SQLBIGVARCHAR type.
If the application uses the ODBC driver, you receive the following error message:
Msg 40242

Unable to resolve column level collations system
If the application uses the SQL OLE DB provider, you receive the following error message:
Msg 40234

Unicode conversion failed. Code page of server not on client

Symptom 3

The client application requests an output parameter. If the output parameter uses one of the new collations, the parameter is defined as the SQLBIGCHAR type, the SQLBIGVARCHAR type, or the SQLTEXT type, and an error is returned to the client application.

If the application uses the ODBC driver, you receive the following error message:
Msg 40242

Unable to resolve column level collations system
If the application uses the SQL OLE DB provider, you receive the following error message:
Msg 40234

Unicode conversion failed. Code page of server not on client

Symptom 4

The connection to the new SQL Server 2008 collations is closed, and an error message is logged in the SQL Server Error log file when the following conditions are true:
  • The application requests an output parameter.
  • The data type of the output parameter is SQL_VARIANT.
  • The output parameter uses one of the new collations, and the SQL_VARIANT data contains the SQLCHAR type or the SQLVARCHAR type.
If the application uses the ODBC driver, you receive the following error message:
Msg 40242

Unable to resolve column level collations system
If the application uses the SQL OLE DB provider, you receive the following error message:
Msg 40234

Unicode conversion failed. Code page of server not on client

Symptom 5

The client application connects to a database, and the default collation that the database uses is one of the new collations. In this case, an error is returned to the client application.

If the application uses the ODBC driver, you receive the following error message:
Msg 40205

Unicode conversion failed
If the application uses the SQL OLE DB provider, you receive the following error message:
Msg 40234

Unicode conversion failed. Code page of server not on client


Symptom 6

When you run the USE statement to switch to a database that uses one of the new collations, you receive the error messages that are listed for "Symptom 5."

↑ Back to the top


Cause

This problem occurs when the data is stored in one of the new collations in SQL Server 2008. The client-side application does not recognize the new collations in SQL Server 2008.

↑ Back to the top


Resolution

An update is available to resolve these problems.
  1. After you apply this update in Windows Vista or in Windows Server 2008, you can request data that uses new SQL Server 2008 collations.
  2. After you apply this update in Windows XP or in Windows Server 2003, you can request data that uses new Unicode SQL Server 2008 collations. However, if you request data that uses new ANSI SQL Server 2008 collations, you still encounter the problems that are described in this article.

Download information

The following files are available for download from the Microsoft Download Center:

Update for Windows XP for x86-based versions (KB954920)

Download Download the 954920 package now.

Update for Windows Server 2003 for x86-based versions (KB954920)

Download Download the 954920 package now.

Update for Windows Server 2003 x64-based versions (KB954920)

Download Download the 954920 package now.

Update for Windows Server 2003 for Itanium-based versions (KB954920)

Download Download the 954920 package now.

Update for Windows Vista for x86-based versions (KB954920)

Download Download the 954920 package now.

Update for Windows Vista for x64-based versions (KB954920)


Download Download the 954920 package now.

Update for Windows Server 2008 for x86-based versions (KB954920)


Download Download the 954920 package now.

Update for Windows Server 2008 for x64-based versions (KB954920)

Download Download the 954920 package now.

Update for Windows Server 2008 for Itanium-based Systems (KB954920)

Download Download the 954920 package now.

Release Date: September 23, 2008

For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to obtain Microsoft support files from online services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.

Update information for Windows XP

Prerequisites

To apply this update, you must have Windows XP Service Pack 2 (SP2) or Windows XP Service Pack 3 (SP3) installed on the computer.

Restart requirement

You have to restart the computer after you apply this update.

Update replacement information

This update does not replace any other previously released updates.

File information

The English version of this update 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 XP SP2, x86-based versions
File nameFile versionFile sizeDateTimePlatformSP requirement
Odbcbcp.dll2000.85.1140.024,57621-Aug-200816:23x86SP2
Sqloledb.dll2000.85.1140.0528,38421-Aug-200816:23x86SP2
Sqlsrv32.dll2000.85.1140.0446,46421-Aug-200816:23x86SP2
Odbcbcp.dll2000.85.1140.024,57621-Aug-200817:00x86SP2
Sqloledb.dll2000.85.1140.0528,38421-Aug-200817:00x86SP2
Sqlsrv32.dll2000.85.1140.0446,46421-Aug-200817:00x86SP2
Windows XP SP3, x86-based versions
File nameFile versionFile sizeDateTimePlatformSP requirement
Odbcbcp.dll2000.85.3006.024,57621-Aug-200816:41x86SP3
Sqloledb.dll2000.85.3006.0528,38421-Aug-200816:41x86SP3
Sqlsrv32.dll2000.85.3006.0446,46421-Aug-200816:41x86SP3
Odbcbcp.dll2000.85.3006.024,57621-Aug-200816:44x86SP3
Sqloledb.dll2000.85.3006.0528,38421-Aug-200816:44x86SP3
Sqlsrv32.dll2000.85.3006.0446,46422-Aug-200805:14x86SP3

↑ Back to the top


Update information for Windows Server 2003

Prerequisites

To apply this update, you must have Windows Server 2003 Service Pack 1 or Windows Server 2003 Service Pack 2 installed on the computer.

Restart requirement

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

Hotfix replacement information

This hotfix does not replace any other previously released hotfixes.

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 Server 2003 SP1, x86-based versions
File nameFile versionFile sizeDateTimePlatformSP requirement
Odbcbcp.dll2000.86.3197.024,57625-Aug-200813:49x86SP1
Sqloledb.dll2000.86.3197.0532,48025-Aug-200813:49x86SP1
Sqlsrv32.dll2000.86.3197.0446,46425-Aug-200813:49x86SP1
Odbcbcp.dll2000.86.3197.024,57625-Aug-200813:45x86SP1
Sqloledb.dll2000.86.3197.0532,48025-Aug-200813:45x86SP1
Sqlsrv32.dll2000.86.3197.0446,46425-Aug-200813:45x86SP1
Windows Server 2003 SP2, x86-based versions
File nameFile versionFile sizeDateTimePlatformSP requirement
Odbcbcp.dll2000.86.4360.024,57625-Aug-200813:23x86SP2
Sqloledb.dll2000.86.4360.0532,48025-Aug-200813:23x86SP2
Sqlsrv32.dll2000.86.4360.0446,46425-Aug-200813:23x86SP2
Odbcbcp.dll2000.86.4360.024,57625-Aug-200813:54x86SP2
Sqloledb.dll2000.86.4360.0532,48025-Aug-200813:54x86SP2
Sqlsrv32.dll2000.86.4360.0446,46426-Aug-200802:45x86SP2
Windows Server 2003 SP1, x64-based versions
File nameFile versionFile sizeDateTimePlatformSP requirementService branch
Odbcbcp.dll2000.86.3197.032,76826-Aug-200802:50x64SP1Not Applicable
Sqloledb.dll2000.86.3197.0876,54426-Aug-200802:50x64SP1Not Applicable
Sqlsrv32.dll2000.86.3197.0675,84026-Aug-200802:50x64SP1Not Applicable
Wodbcbcp.dll2000.86.3197.024,57626-Aug-200802:50x86SP1WOW
Wsqloledb.dll2000.86.3197.0532,48026-Aug-200802:50x86SP1WOW
Wsqlsrv32.dll2000.86.3197.0446,46426-Aug-200802:50x86SP1WOW
Odbcbcp.dll2000.86.3197.032,76826-Aug-200802:51x64SP1Not Applicable
Sqloledb.dll2000.86.3197.0876,54426-Aug-200802:51x64SP1Not Applicable
Sqlsrv32.dll2000.86.3197.0675,84026-Aug-200802:51x64SP1Not Applicable
Wodbcbcp.dll2000.86.3197.024,57626-Aug-200802:51x86SP1WOW
Wsqloledb.dll2000.86.3197.0532,48026-Aug-200802:51x86SP1WOW
Wsqlsrv32.dll2000.86.3197.0446,46426-Aug-200802:51x86SP1WOW
Windows Server 2003 SP2, x64-based versions
File nameFile versionFile sizeDateTimePlatformSP requirementService branch
Odbcbcp.dll2000.86.4360.032,76826-Aug-200802:56x64SP2Not Applicable
Sqloledb.dll2000.86.4360.0876,54426-Aug-200802:56x64SP2Not Applicable
Sqlsrv32.dll2000.86.4360.0675,84026-Aug-200802:57x64SP2Not Applicable
Wodbcbcp.dll2000.86.4360.024,57626-Aug-200802:57x86SP2WOW
Wsqloledb.dll2000.86.4360.0532,48026-Aug-200802:57x86SP2WOW
Wsqlsrv32.dll2000.86.4360.0446,46426-Aug-200802:57x86SP2WOW
Odbcbcp.dll2000.86.4360.032,76826-Aug-200802:50x64SP2Not Applicable
Sqloledb.dll2000.86.4360.0880,64026-Aug-200802:50x64SP2Not Applicable
Sqlsrv32.dll2000.86.4360.0675,84026-Aug-200802:50x64SP2Not Applicable
Wodbcbcp.dll2000.86.4360.024,57626-Aug-200802:50x86SP2WOW
Wsqloledb.dll2000.86.4360.0532,48026-Aug-200802:50x86SP2WOW
Wsqlsrv32.dll2000.86.4360.0446,46426-Aug-200802:50x86SP2WOW
Windows Server 2003 SP1, Itanium-based versions
File nameFile versionFile sizeDateTimePlatformSP requirementService branch
Odbcbcp.dll2000.86.3197.053,24826-Aug-200802:50IA-64SP1Not Applicable
Sqloledb.dll2000.86.3197.01,585,15226-Aug-200802:50IA-64SP1Not Applicable
Sqlsrv32.dll2000.86.3197.01,130,49626-Aug-200802:50IA-64SP1Not Applicable
Wodbcbcp.dll2000.86.3197.024,57626-Aug-200802:50x86SP1WOW
Wsqloledb.dll2000.86.3197.0532,48026-Aug-200802:50x86SP1WOW
Wsqlsrv32.dll2000.86.3197.0446,46426-Aug-200802:50x86SP1WOW
Odbcbcp.dll2000.86.3197.053,24826-Aug-200802:50IA-64SP1Not Applicable
Sqloledb.dll2000.86.3197.01,585,15226-Aug-200802:50IA-64SP1Not Applicable
Sqlsrv32.dll2000.86.3197.01,126,40026-Aug-200802:50IA-64SP1Not Applicable
Wodbcbcp.dll2000.86.3197.024,57626-Aug-200802:50x86SP1WOW
Wsqloledb.dll2000.86.3197.0532,48026-Aug-200802:50x86SP1WOW
Wsqlsrv32.dll2000.86.3197.0446,46426-Aug-200802:50x86SP1WOW
Windows Server 2003 SP2, Itanium-based versions
File nameFile versionFile sizeDateTimePlatformSP requirementService branch
Odbcbcp.dll2000.86.4360.053,24826-Aug-200802:50IA-64SP2Not Applicable
Sqloledb.dll2000.86.4360.01,589,24826-Aug-200802:50IA-64SP2Not Applicable
Sqlsrv32.dll2000.86.4360.01,130,49626-Aug-200802:50IA-64SP2Not Applicable
Wodbcbcp.dll2000.86.4360.024,57626-Aug-200802:50x86SP2WOW
Wsqloledb.dll2000.86.4360.0532,48026-Aug-200802:50x86SP2WOW
Wsqlsrv32.dll2000.86.4360.0446,46426-Aug-200802:50x86SP2WOW
Odbcbcp.dll2000.86.4360.053,24826-Aug-200802:54IA-64SP2Not Applicable
Sqloledb.dll2000.86.4360.01,585,15226-Aug-200802:54IA-64SP2Not Applicable
Sqlsrv32.dll2000.86.4360.01,126,40026-Aug-200802:54IA-64SP2Not Applicable
Wodbcbcp.dll2000.86.4360.024,57626-Aug-200802:54x86SP2WOW
Wsqloledb.dll2000.86.4360.0532,48026-Aug-200802:54x86SP2WOW
Wsqlsrv32.dll2000.86.4360.0446,46426-Aug-200802:54x86SP2WOW

Update information for Windows Vista and for Windows Server 2008

Prerequisites

To apply this hotfix, the computer must run one of the following:
  • Windows Vista
  • Windows Vista SP1
  • Windows Server 2008

Restart requirement

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

Hotfix replacement information

This hotfix does not replace any other previously released hotfixes.

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
File nameFile versionFile sizeDateTimePlatform
Odbcbcp.dll6.0.6000.1673628,67222-Aug-200803:34x86
Odbcbcp.dll6.0.6000.2090128,67222-Aug-200803:15x86
Sqlsrv32.dll6.0.6000.16736520,19222-Aug-200803:34x86
Sqlsrv32.dll6.0.6000.20901520,19222-Aug-200803:15x86
Sqloledb.dll6.0.6000.16736663,55222-Aug-200803:34x86
Sqloledb.dll6.0.6000.20901663,55222-Aug-200803:15x86
Windows Vista SP1 and Windows Server 2008, x86-based versions
File nameFile versionFile sizeDateTimePlatform
Odbcbcp.dll6.0.6001.1812728,67222-Aug-200803:38x86
Odbcbcp.dll6.0.6001.2224928,67222-Aug-200803:32x86
Sqlsrv32.dll6.0.6001.18127524,28822-Aug-200803:38x86
Sqlsrv32.dll6.0.6001.22249524,28822-Aug-200803:32x86
Sqloledb.dll6.0.6001.18127663,55222-Aug-200803:38x86
Sqloledb.dll6.0.6001.22249663,55222-Aug-200803:32x86
Windows Vista, x64-based versions
File nameFile versionFile sizeDateTimePlatform
Odbcbcp.dll6.0.6000.1673632,76822-Aug-200803:31x64
Odbcbcp.dll6.0.6000.2090132,76822-Aug-200803:24x64
Sqlsrv32.dll6.0.6000.16736581,63222-Aug-200803:31x64
Sqlsrv32.dll6.0.6000.20901581,63222-Aug-200803:25x64
Sqloledb.dll6.0.6000.16736790,52822-Aug-200803:31x64
Sqloledb.dll6.0.6000.20901790,52822-Aug-200803:25x64
Odbcbcp.dll6.0.6000.1673628,67222-Aug-200803:34x86
Odbcbcp.dll6.0.6000.2090128,67222-Aug-200803:15x86
Sqlsrv32.dll6.0.6000.16736520,19222-Aug-200803:34x86
Sqlsrv32.dll6.0.6000.20901520,19222-Aug-200803:15x86
Sqloledb.dll6.0.6000.16736663,55222-Aug-200803:34x86
Sqloledb.dll6.0.6000.20901663,55222-Aug-200803:15x86
Windows Vista with Service Pack 1 and Windows Server 2008, x64-based versions
File nameFile versionFile sizeDateTimePlatform
Odbcbcp.dll6.0.6001.1812732,76822-Aug-200803:45x64
Odbcbcp.dll6.0.6001.2224932,76822-Aug-200804:40x64
Sqlsrv32.dll6.0.6001.18127581,63222-Aug-200803:45x64
Sqlsrv32.dll6.0.6001.22249581,63222-Aug-200804:40x64
Sqloledb.dll6.0.6001.18127786,43222-Aug-200803:45x64
Sqloledb.dll6.0.6001.22249786,43222-Aug-200804:40x64
Odbcbcp.dll6.0.6001.1812728,67222-Aug-200803:38x86
Sqlsrv32.dll6.0.6001.18127524,28822-Aug-200803:38x86
Sqlsrv32.dll6.0.6001.22249524,28822-Aug-200803:32x86
Sqloledb.dll6.0.6001.18127663,55222-Aug-200803:38x86
Sqloledb.dll6.0.6001.22249663,55222-Aug-200803:32x86
Windows Server 2008, Itanium-based versions
File nameFile versionFile sizeDateTimePlatform
Odbcbcp.dll6.0.6001.1812753,24822-Aug-200803:55IA-64
Odbcbcp.dll6.0.6001.2224953,24822-Aug-200804:53IA-64
Sqlsrv32.dll6.0.6001.181271,085,44022-Aug-200803:55IA-64
Sqlsrv32.dll6.0.6001.222491,085,44022-Aug-200804:54IA-64
Sqloledb.dll6.0.6001.181271,470,46422-Aug-200803:55IA-64
Sqloledb.dll6.0.6001.222491,470,46422-Aug-200804:54IA-64
Odbcbcp.dll6.0.6001.1812728,67222-Aug-200803:38x86
Odbcbcp.dll6.0.6001.2224928,67222-Aug-200803:32x86
Sqlsrv32.dll6.0.6001.18127524,28822-Aug-200803:38x86
Sqlsrv32.dll6.0.6001.22249524,28822-Aug-200803:32x86
Sqloledb.dll6.0.6001.18127663,55222-Aug-200803:38x86
Sqloledb.dll6.0.6001.22249663,55222-Aug-200803:32x86

↑ Back to the top


Status

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

↑ Back to the top


More Information

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

↑ Back to the top


Keywords: atdownload, kbexpertiseadvanced, kbfix, kbqfe, kbhotfixserver, kb

↑ Back to the top

Article Info
Article ID : 954920
Revision : 4
Created on : 4/9/2020
Published on : 4/9/2020
Exists online : False
Views : 277