Article ID: 954920 - Last Review: October 31, 2008 - Revision: 2.1
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 provider is used
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."
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.
After you apply this update in Windows Vista or in Windows Server 2008, you can request data that uses new SQL Server 2008 collations.
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.
The
following files are available for download from the Microsoft Download
Center:
Update for Windows XP for x86-based versions (KB954920)
Collapse this imageExpand this image
Download the 954920 package now.
(http://www.microsoft.com/downloads/details.aspx?FamilyId=16332629-DA01-4763-8ABC-5243286DB3B3)
Update for Windows Server 2003 for x86-based versions (KB954920)
Collapse this imageExpand this image
Download the 954920 package now.
(http://www.microsoft.com/downloads/details.aspx?FamilyId=32D4E3A7-8CC1-4975-94F4-2B04603D0208)
Update for Windows Server 2003 x64-based versions (KB954920)
Collapse this imageExpand this image
Download the 954920 package now.
(http://www.microsoft.com/downloads/details.aspx?FamilyId=E3CCCCB2-67CD-4082-BBB7-9AC71DA8CA6E)
Update for Windows Server 2003 for Itanium-based versions (KB954920)
Collapse this imageExpand this image
Download the 954920 package now.
(http://www.microsoft.com/downloads/details.aspx?FamilyId=DD233B5D-0A8F-4C20-B524-2522546A6F5C)
Update for Windows Vista for x86-based versions (KB954920)
Collapse this imageExpand this image
Download the 954920 package now.
(http://www.microsoft.com/downloads/details.aspx?FamilyId=2BE8E665-77E1-46DB-971C-17258595A37A)
Update for Windows Vista for x64-based versions (KB954920)
Collapse this imageExpand this image
Download the 954920 package now.
(http://www.microsoft.com/downloads/details.aspx?FamilyId=A8A0D9C2-3C41-47C4-8706-3B18806DCF25)
Update for Windows Server 2008 for x86-based versions (KB954920)
Collapse this imageExpand this image
Download the 954920 package now.
(http://www.microsoft.com/downloads/details.aspx?FamilyId=0FAD9615-CFD2-4B30-AA90-E4CBE7A63200)
Update for Windows Server 2008 for x64-based versions (KB954920)
Collapse this imageExpand this image
Download the 954920 package now.
(http://www.microsoft.com/downloads/details.aspx?FamilyId=6AD20990-5C8C-4FC3-A884-2A8E70CB892F)
Update for Windows Server 2008 for Itanium-based Systems (KB954920)
Collapse this imageExpand this image
Download the 954920 package now.
(http://www.microsoft.com/downloads/details.aspx?FamilyId=AE45C84A-7331-4BD4-9999-1F9C2464B1E1)
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
(http://support.microsoft.com/kb/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.
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.
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.
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
Collapse this tableExpand this table
File name
File version
File size
Date
Time
Platform
Odbcbcp.dll
6.0.6000.16736
28,672
22-Aug-2008
03:34
x86
Odbcbcp.dll
6.0.6000.20901
28,672
22-Aug-2008
03:15
x86
Sqlsrv32.dll
6.0.6000.16736
520,192
22-Aug-2008
03:34
x86
Sqlsrv32.dll
6.0.6000.20901
520,192
22-Aug-2008
03:15
x86
Sqloledb.dll
6.0.6000.16736
663,552
22-Aug-2008
03:34
x86
Sqloledb.dll
6.0.6000.20901
663,552
22-Aug-2008
03:15
x86
Windows Vista SP1 and Windows Server 2008, x86-based versions
Collapse this tableExpand this table
File name
File version
File size
Date
Time
Platform
Odbcbcp.dll
6.0.6001.18127
28,672
22-Aug-2008
03:38
x86
Odbcbcp.dll
6.0.6001.22249
28,672
22-Aug-2008
03:32
x86
Sqlsrv32.dll
6.0.6001.18127
524,288
22-Aug-2008
03:38
x86
Sqlsrv32.dll
6.0.6001.22249
524,288
22-Aug-2008
03:32
x86
Sqloledb.dll
6.0.6001.18127
663,552
22-Aug-2008
03:38
x86
Sqloledb.dll
6.0.6001.22249
663,552
22-Aug-2008
03:32
x86
Windows Vista, x64-based versions
Collapse this tableExpand this table
File name
File version
File size
Date
Time
Platform
Odbcbcp.dll
6.0.6000.16736
32,768
22-Aug-2008
03:31
x64
Odbcbcp.dll
6.0.6000.20901
32,768
22-Aug-2008
03:24
x64
Sqlsrv32.dll
6.0.6000.16736
581,632
22-Aug-2008
03:31
x64
Sqlsrv32.dll
6.0.6000.20901
581,632
22-Aug-2008
03:25
x64
Sqloledb.dll
6.0.6000.16736
790,528
22-Aug-2008
03:31
x64
Sqloledb.dll
6.0.6000.20901
790,528
22-Aug-2008
03:25
x64
Odbcbcp.dll
6.0.6000.16736
28,672
22-Aug-2008
03:34
x86
Odbcbcp.dll
6.0.6000.20901
28,672
22-Aug-2008
03:15
x86
Sqlsrv32.dll
6.0.6000.16736
520,192
22-Aug-2008
03:34
x86
Sqlsrv32.dll
6.0.6000.20901
520,192
22-Aug-2008
03:15
x86
Sqloledb.dll
6.0.6000.16736
663,552
22-Aug-2008
03:34
x86
Sqloledb.dll
6.0.6000.20901
663,552
22-Aug-2008
03:15
x86
Windows Vista with Service Pack 1 and Windows Server 2008, x64-based versions