Consider the following scenario:
-
You have a Microsoft .NET Framework 3.5-based application that is running on a computer that is localized for the language of a Scandinavian country. For example, the computer is localized for Norway, for Sweden, or for Denmark.
-
In a DataTable object, the application has a DataColumn object for global unique identifiers (GUID).
-
You use the DataColumn object as the String data type to filter the DataTable object. For example, you use the following sample code:
string formattedResult = String.Format("<GUIDDataColumn> = '{0}'", <Guid>)
<dataset>.Tables["<Table>"].Select(formattedResult)
In this scenario, you receive the following ArgumentException exception:
Min (8147) must be less than or equal to max (-1) in a Range object.
Symptoms
This issue occurs because the GUID that is sorted in the Binary data type differs from the GUID that is sorted in the String data type for all Scandinavian languages.
In a DataTable object, the DataColumn object has an internal index that is sorted by the GUID. The {guid} = ‘string’ select operation internally perform a binary search that is based on the Compare ({guid} ->string, ‘string’) function.
Cause
Hotfix information
A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that this article describes. Apply it only to systems that are experiencing this specific problem.
To resolve this problem, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=supportNote In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.
Prerequisites
You must have the .NET Framework 3.5 installed to apply this hotfix.
Restart requirement
You do not have to restart the computer after you apply this hotfix if the affected files are not being used.
Hotfix replacement information
This hotfix does not replace any other 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.
For all supported x86-based versions of Windows Server 2003 and of Windows XP
File name |
File version |
File size |
Date |
Time |
Hashes |
---|---|---|---|---|---|
Hotfixinstaller.exe |
9.0.40215.0 |
321,888 |
29-Apr-2010 |
16:33 |
|
Ndp20sp2-kb980833.msp |
Not Applicable |
1,274,880 |
29-Apr-2010 |
16:36 |
Not Applicable |
Ndp35sp1-kb960043-v4.msp |
Not Applicable |
3,638,272 |
29-Apr-2010 |
16:34 |
Not Applicable |
Parameterinfo.xml |
Not Applicable |
3,688 |
29-Apr-2010 |
16:24 |
Not Applicable |
Hotfixinstallerui.dll |
9.0.40302.0 |
12,640 |
29-Apr-2010 |
16:33 |
MD5: 464E8BF7CB4B75A6DA478A76E65A4DB8 |
For all supported x64-based versions of Windows Server 2003 and of Windows XP
File name |
File version |
File size |
Date |
Time |
Hashes |
---|---|---|---|---|---|
Hotfixinstaller.exe |
9.0.40215.0 |
321,888 |
29-Apr-2010 |
16:33 |
|
Ndp20sp2-kb980833.msp |
Not Applicable |
2,253,824 |
29-Apr-2010 |
16:46 |
Not Applicable |
Ndp35sp1-kb960043-v4.msp |
Not Applicable |
3,638,272 |
29-Apr-2010 |
16:34 |
Not Applicable |
Parameterinfo.xml |
Not Applicable |
3,688 |
29-Apr-2010 |
16:24 |
Not Applicable |
Hotfixinstallerui.dll |
9.0.40302.0 |
12,640 |
29-Apr-2010 |
16:33 |
MD5: 464E8BF7CB4B75A6DA478A76E65A4DB8 |
For all supported IA-64-based versions of Windows Server 2003 and of Windows XP
File name |
File version |
File size |
Date |
Time |
Hashes |
---|---|---|---|---|---|
Hotfixinstaller.exe |
9.0.40215.0 |
321,888 |
29-Apr-2010 |
16:33 |
|
Ndp20sp2-kb980833.msp |
Not Applicable |
2,364,928 |
29-Apr-2010 |
16:56 |
Not Applicable |
Ndp35sp1-kb960043-v4.msp |
Not Applicable |
3,638,272 |
29-Apr-2010 |
16:34 |
Not Applicable |
Parameterinfo.xml |
Not Applicable |
3,688 |
29-Apr-2010 |
16:24 |
Not Applicable |
Hotfixinstallerui.dll |
9.0.40302.0 |
12,640 |
29-Apr-2010 |
16:33 |
MD5: 464E8BF7CB4B75A6DA478A76E65A4DB8 |
For all supported x86-based versions of Windows Vista Service Pack 2 (SP2) and of Windows Server 2008 Service Pack 2 (SP2)
File name |
File version |
File size |
Date |
Time |
Hashes |
Platform |
---|---|---|---|---|---|---|
System.data.resources.dll |
2.0.50727.4016 |
372,736 |
16-Apr-2009 |
06:20 |
MD5: 4AA1BF1462BFAD6651B40280DCD0DEE3 |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
344,064 |
16-Apr-2009 |
06:17 |
MD5: D56BE9FB4284485F5D70580E779108BE |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
344,064 |
16-Apr-2009 |
06:21 |
MD5: A18020B5B9ECEF32CFC5091A99BFFD2F |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
352,256 |
16-Apr-2009 |
05:54 |
MD5: 09C32DB952302013C4739C92A8D356C5 |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
417,792 |
16-Apr-2009 |
06:21 |
MD5: DBD5F9A035B56D2CDE85C3441689EB1F |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
344,064 |
16-Apr-2009 |
06:13 |
MD5: D1FE10E118713BEF54A13E7549BE71AA |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
339,968 |
16-Apr-2009 |
06:22 |
MD5: B77EDBCC452EE19F3A2FC105B82FB6E3 |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
352,256 |
16-Apr-2009 |
05:54 |
MD5: BB5671B7D1DB5E6B80F04CCFAA7CBEE1 |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
364,544 |
16-Apr-2009 |
06:23 |
MD5: 800D3D0037EE1E196B9D43435A14D36A |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
356,352 |
16-Apr-2009 |
06:19 |
MD5: 53C65F5BF31D3489BFB0502AF6788616 |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
344,064 |
16-Apr-2009 |
06:15 |
MD5: A36C81CEDA2037FB0275F108B0D8AE67 |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
368,640 |
16-Apr-2009 |
05:55 |
MD5: A272D560541E7B2C7E0D08635F110B12 |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
352,256 |
16-Apr-2009 |
05:56 |
MD5: A6456CC89883496415FEADB5F4117A6D |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
335,872 |
16-Apr-2009 |
06:25 |
MD5: 591D9B965189F1473383148705122B1D |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
348,160 |
16-Apr-2009 |
06:20 |
MD5: AFAC91C49A061D70F4D305B7805F9B05 |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
352,256 |
16-Apr-2009 |
06:21 |
MD5: ED5700584C905BE5CD9C02481AB52163 |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
344,064 |
16-Apr-2009 |
06:18 |
MD5: 339F450C71E2376B59073F6EB648D543 |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
348,160 |
16-Apr-2009 |
06:22 |
MD5: D12E064135937A830A782EEA0A0DBAB9 |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
401,408 |
16-Apr-2009 |
06:19 |
MD5: 3DF158A002D2AD71FDB72D55671FE1D7 |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
339,968 |
16-Apr-2009 |
06:24 |
MD5: 47334DE22F129CF98285846CA2705033 |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
339,968 |
16-Apr-2009 |
06:26 |
MD5: 8F7C66FC8A3DD0590F226CDE14903274 |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
323,584 |
16-Apr-2009 |
05:57 |
MD5: 172C93D29F8143A1124EAAD9BA5F1C37 |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
327,680 |
16-Apr-2009 |
05:58 |
MD5: 3928C9D4D20BDFFC459D9428F9FDA245 |
x86 |
System.data.dll |
2.0.50727.4452 |
2,934,272 |
30-Apr-2010 |
13:24 |
MD5: BD8312B22CBAC3F85C7075443BF249BC |
x86 |
For all supported x64-based versions of Windows Vista SP2 and of Windows Server 2008 SP2
File name |
File version |
File size |
Date |
Time |
Hashes |
Platform |
---|---|---|---|---|---|---|
System.data.dll |
2.0.50727.4452 |
3,009,024 |
30-Apr-2010 |
13:24 |
MD5: 9B2EA75BCF6ADE3D41CA598A02D2299C |
x64 |
System.data.resources.dll |
2.0.50727.4016 |
372,736 |
16-Apr-2009 |
06:38 |
MD5: 0795B1907BC7A59752711296045B747A |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
344,064 |
16-Apr-2009 |
06:35 |
MD5: FC8777063F7B8BA515E16588F5C079B8 |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
344,064 |
16-Apr-2009 |
06:39 |
MD5: 00CC3F4470ACF1E6CF499DA8AA99847B |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
352,256 |
16-Apr-2009 |
05:57 |
MD5: 4A2B1499DB5E5F6B033DA1C9EE11AAF1 |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
417,792 |
16-Apr-2009 |
06:40 |
MD5: 16C799E705924EBE058B896E330E51EC |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
344,064 |
16-Apr-2009 |
06:33 |
MD5: FE686DE9E07D30481B5CD739C80492AE |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
339,968 |
16-Apr-2009 |
06:41 |
MD5: 939857871566EBA48A43E923D122CE6E |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
352,256 |
16-Apr-2009 |
05:57 |
MD5: CB65DE4D5136CDF3C91437EB53C774C2 |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
364,544 |
16-Apr-2009 |
06:42 |
MD5: AFB3DBB3B84A11C6DC9F8CFBC16DD746 |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
356,352 |
16-Apr-2009 |
06:37 |
MD5: B88A574BC426BFDA55C4CF6FBBD06D1B |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
344,064 |
16-Apr-2009 |
06:35 |
MD5: 3677DF79C59B73E4D0787E65619F17FE |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
368,640 |
16-Apr-2009 |
05:58 |
MD5: 422AD9550790DA10EB0BEAA558B436D7 |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
352,256 |
16-Apr-2009 |
05:59 |
MD5: C4B81C56486000316F7687853E56A5EF |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
335,872 |
16-Apr-2009 |
06:44 |
MD5: A09F6630C761C710FFEDBC580CCD3EF3 |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
348,160 |
16-Apr-2009 |
06:38 |
MD5: 6498BA3BB03F0EE32415B75CD907E331 |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
352,256 |
16-Apr-2009 |
06:40 |
MD5: 46B6F0338B7EF9DD43552F2FB3951D64 |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
344,064 |
16-Apr-2009 |
06:36 |
MD5: 57D8767E1A2277838D688E5330193532 |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
348,160 |
16-Apr-2009 |
06:41 |
MD5: 6CF22A1F9EA222FF9839A4D881C529A2 |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
401,408 |
16-Apr-2009 |
06:37 |
MD5: 1A4D2526D4F69D796EACA29921F0C15B |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
339,968 |
16-Apr-2009 |
06:42 |
MD5: 75D1606D9CDB782BEEE77A21A764F123 |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
339,968 |
16-Apr-2009 |
06:44 |
MD5: A303A3E3865CD61FBAA826290B953555 |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
323,584 |
16-Apr-2009 |
05:59 |
MD5: 47FE126F3246C548D0ABC66ABAD0783B |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
327,680 |
16-Apr-2009 |
06:00 |
MD5: 6DC0805AE1B2EA107EEADF5CB1AE2575 |
x86 |
System.data.dll |
2.0.50727.4452 |
2,934,272 |
30-Apr-2010 |
13:24 |
MD5: BD8312B22CBAC3F85C7075443BF249BC |
x86 |
For all supported IA-64-based versions of Windows Server 2008 SP2
File name |
File version |
File size |
Date |
Time |
Hashes |
Platform |
---|---|---|---|---|---|---|
System.data.dll |
2.0.50727.4452 |
3,234,816 |
30-Apr-2010 |
13:24 |
MD5: A143A21157EE2DC9835DD12D8ACCCBE2 |
IA-64 |
System.data.resources.dll |
2.0.50727.4016 |
352,256 |
16-Apr-2009 |
06:00 |
MD5: CDEE3FBF5B1F321AFEDE5049AEE8E59E |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
352,256 |
16-Apr-2009 |
06:00 |
MD5: A359B23A12B165F10B877BF55E5B66F3 |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
368,640 |
16-Apr-2009 |
06:01 |
MD5: 276F5A56D72DD11E22235910F04A2D09 |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
352,256 |
16-Apr-2009 |
06:02 |
MD5: 4AB6ACC30F2EC707C33FBDBAA1889CA2 |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
323,584 |
16-Apr-2009 |
06:03 |
MD5: 60204472DECE5B06A008C40C08A23432 |
x86 |
System.data.resources.dll |
2.0.50727.4016 |
327,680 |
16-Apr-2009 |
06:04 |
MD5: 6F716456A67A0D2F8D0477D7514959E1 |
x86 |
System.data.dll |
2.0.50727.4452 |
2,934,272 |
30-Apr-2010 |
13:24 |
MD5: BD8312B22CBAC3F85C7075443BF249BC |
x86 |
Resolution
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Status
For more information about the DataTable.Select method, visit the following Microsoft Developer Network (MSDN) website:
General information about the "DataTable.Select" methodFor more information about software update terminology, 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