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: 464E8BF7CB4B75A6DA478A76E65A4DB8SHA1: 659FE280D6DC588C34D970C784CCBD51DE1DEEDF

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: 464E8BF7CB4B75A6DA478A76E65A4DB8SHA1: 659FE280D6DC588C34D970C784CCBD51DE1DEEDF

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: 464E8BF7CB4B75A6DA478A76E65A4DB8SHA1: 659FE280D6DC588C34D970C784CCBD51DE1DEEDF

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: 4AA1BF1462BFAD6651B40280DCD0DEE3SHA1: E7D9D9D48FB93F61410433F29068FB86B3FECDB0

x86

System.data.resources.dll

2.0.50727.4016

344,064

16-Apr-2009

06:17

MD5: D56BE9FB4284485F5D70580E779108BESHA1: 592C6A66B9984B16970AB8029B97CEE634455A01

x86

System.data.resources.dll

2.0.50727.4016

344,064

16-Apr-2009

06:21

MD5: A18020B5B9ECEF32CFC5091A99BFFD2FSHA1: 544442453C7821A4ABA159B8ACD05E3051D3B432

x86

System.data.resources.dll

2.0.50727.4016

352,256

16-Apr-2009

05:54

MD5: 09C32DB952302013C4739C92A8D356C5SHA1: 1ADFFDD881C66C96EE1CFE76531D87EAD1CAB922

x86

System.data.resources.dll

2.0.50727.4016

417,792

16-Apr-2009

06:21

MD5: DBD5F9A035B56D2CDE85C3441689EB1FSHA1: 60D2488BB2A78AB62D21EE8D31095E451AA04ACF

x86

System.data.resources.dll

2.0.50727.4016

344,064

16-Apr-2009

06:13

MD5: D1FE10E118713BEF54A13E7549BE71AASHA1: F4FFFD9E5F3F4B5540ED32D20393F460EA606D3A

x86

System.data.resources.dll

2.0.50727.4016

339,968

16-Apr-2009

06:22

MD5: B77EDBCC452EE19F3A2FC105B82FB6E3SHA1: D20EE31BAAC609A1E94236A84C8D136D18CEE985

x86

System.data.resources.dll

2.0.50727.4016

352,256

16-Apr-2009

05:54

MD5: BB5671B7D1DB5E6B80F04CCFAA7CBEE1SHA1: B37BDBA4F3768F128BDAFCC3E3AFE6769C650064

x86

System.data.resources.dll

2.0.50727.4016

364,544

16-Apr-2009

06:23

MD5: 800D3D0037EE1E196B9D43435A14D36ASHA1: C57E359A0F143627C91F828036280D135931D9F3

x86

System.data.resources.dll

2.0.50727.4016

356,352

16-Apr-2009

06:19

MD5: 53C65F5BF31D3489BFB0502AF6788616SHA1: CD62A466E845AA73DFAD4A2239756FE22B3FCC8C

x86

System.data.resources.dll

2.0.50727.4016

344,064

16-Apr-2009

06:15

MD5: A36C81CEDA2037FB0275F108B0D8AE67SHA1: EE7464BDD9578AADEE6D1CCA990785888B69B0F2

x86

System.data.resources.dll

2.0.50727.4016

368,640

16-Apr-2009

05:55

MD5: A272D560541E7B2C7E0D08635F110B12SHA1: 34F13C41A3D24B30835133E8F442553507DC7B97

x86

System.data.resources.dll

2.0.50727.4016

352,256

16-Apr-2009

05:56

MD5: A6456CC89883496415FEADB5F4117A6DSHA1: 188FB6C4962953C495F6385D97FBA15B8A8DC38B

x86

System.data.resources.dll

2.0.50727.4016

335,872

16-Apr-2009

06:25

MD5: 591D9B965189F1473383148705122B1DSHA1: 9708049443E4C24B23A4F84BB749D61DEC3B5FC6

x86

System.data.resources.dll

2.0.50727.4016

348,160

16-Apr-2009

06:20

MD5: AFAC91C49A061D70F4D305B7805F9B05SHA1: B79689FFBA92ABA10AE88350E1BAD6B64ED53DC8

x86

System.data.resources.dll

2.0.50727.4016

352,256

16-Apr-2009

06:21

MD5: ED5700584C905BE5CD9C02481AB52163SHA1: 568D795AAC844D1507A18BEB7B0043D1B3D87A79

x86

System.data.resources.dll

2.0.50727.4016

344,064

16-Apr-2009

06:18

MD5: 339F450C71E2376B59073F6EB648D543SHA1: 84704A44BECBDFABC3526C9CDDE490E323EE6D82

x86

System.data.resources.dll

2.0.50727.4016

348,160

16-Apr-2009

06:22

MD5: D12E064135937A830A782EEA0A0DBAB9SHA1: 6894840D68B57562756A8AA4D2326B451D0BBC60

x86

System.data.resources.dll

2.0.50727.4016

401,408

16-Apr-2009

06:19

MD5: 3DF158A002D2AD71FDB72D55671FE1D7SHA1: 15383E40DDD11AE406E71EE4C4BBF8219331507E

x86

System.data.resources.dll

2.0.50727.4016

339,968

16-Apr-2009

06:24

MD5: 47334DE22F129CF98285846CA2705033SHA1: 6D33DA80A74D84571C4703FBE253D9CC94357B5A

x86

System.data.resources.dll

2.0.50727.4016

339,968

16-Apr-2009

06:26

MD5: 8F7C66FC8A3DD0590F226CDE14903274SHA1: 3A1C24964AD77768767C800C2863E70B09F066AC

x86

System.data.resources.dll

2.0.50727.4016

323,584

16-Apr-2009

05:57

MD5: 172C93D29F8143A1124EAAD9BA5F1C37SHA1: 40BD0A0417CB35F6A1D755E240D12CC85932FB91

x86

System.data.resources.dll

2.0.50727.4016

327,680

16-Apr-2009

05:58

MD5: 3928C9D4D20BDFFC459D9428F9FDA245SHA1: 908A207E08D70369F5F1D020C9E1F6211513E23B

x86

System.data.dll

2.0.50727.4452

2,934,272

30-Apr-2010

13:24

MD5: BD8312B22CBAC3F85C7075443BF249BCSHA1: 5EE68B7750E368214D5CC7873CD647C23CE491C6

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: 9B2EA75BCF6ADE3D41CA598A02D2299CSHA1: A829E84C7FAB1E2D7D9E163CA347139DA6F88C61

x64

System.data.resources.dll

2.0.50727.4016

372,736

16-Apr-2009

06:38

MD5: 0795B1907BC7A59752711296045B747ASHA1: 38A0E516FFAE2A10DAE2F7EC4147E067F0820FAF

x86

System.data.resources.dll

2.0.50727.4016

344,064

16-Apr-2009

06:35

MD5: FC8777063F7B8BA515E16588F5C079B8SHA1: EAABD3B2204DA6C42B4ED9F3E3CDA034062831DD

x86

System.data.resources.dll

2.0.50727.4016

344,064

16-Apr-2009

06:39

MD5: 00CC3F4470ACF1E6CF499DA8AA99847BSHA1: 110B9C43C20F042B577CE6F1F49F6067967894BE

x86

System.data.resources.dll

2.0.50727.4016

352,256

16-Apr-2009

05:57

MD5: 4A2B1499DB5E5F6B033DA1C9EE11AAF1SHA1: 3715711DD5060668440A6D23D95F9D6CECB00F18

x86

System.data.resources.dll

2.0.50727.4016

417,792

16-Apr-2009

06:40

MD5: 16C799E705924EBE058B896E330E51ECSHA1: 3435D9B6AFC0D75AFE9A3F176318ED37DFBD084B

x86

System.data.resources.dll

2.0.50727.4016

344,064

16-Apr-2009

06:33

MD5: FE686DE9E07D30481B5CD739C80492AESHA1: 2553493D8E0583BEEE88A369ACD4738554EB75A8

x86

System.data.resources.dll

2.0.50727.4016

339,968

16-Apr-2009

06:41

MD5: 939857871566EBA48A43E923D122CE6ESHA1: 10D2208AD5234E877761DBD7C5A8595BD57F0A47

x86

System.data.resources.dll

2.0.50727.4016

352,256

16-Apr-2009

05:57

MD5: CB65DE4D5136CDF3C91437EB53C774C2SHA1: D12F63075927EB5011CBE31DEC8043F41F606F55

x86

System.data.resources.dll

2.0.50727.4016

364,544

16-Apr-2009

06:42

MD5: AFB3DBB3B84A11C6DC9F8CFBC16DD746SHA1: 084CD4937E4E0A0F53EC8CC292F9D8F1823D2166

x86

System.data.resources.dll

2.0.50727.4016

356,352

16-Apr-2009

06:37

MD5: B88A574BC426BFDA55C4CF6FBBD06D1BSHA1: 600B94BC5279423725889389EC618814A0F57CD7

x86

System.data.resources.dll

2.0.50727.4016

344,064

16-Apr-2009

06:35

MD5: 3677DF79C59B73E4D0787E65619F17FESHA1: EB1ACDFAFA887D039EDA950BF4BBFDE0617C5E04

x86

System.data.resources.dll

2.0.50727.4016

368,640

16-Apr-2009

05:58

MD5: 422AD9550790DA10EB0BEAA558B436D7SHA1: 7CDEF790F86BE1E8E02173638AC4CDC3DA7785F8

x86

System.data.resources.dll

2.0.50727.4016

352,256

16-Apr-2009

05:59

MD5: C4B81C56486000316F7687853E56A5EFSHA1: 3277D01B0E3F1E9DE5DA822F046D0E7284310265

x86

System.data.resources.dll

2.0.50727.4016

335,872

16-Apr-2009

06:44

MD5: A09F6630C761C710FFEDBC580CCD3EF3SHA1: 281F180A163C059FD6FF0A423153C399659582C6

x86

System.data.resources.dll

2.0.50727.4016

348,160

16-Apr-2009

06:38

MD5: 6498BA3BB03F0EE32415B75CD907E331SHA1: 37F5F603E36B2C56CE78C799C453B0ABA2A7FBBB

x86

System.data.resources.dll

2.0.50727.4016

352,256

16-Apr-2009

06:40

MD5: 46B6F0338B7EF9DD43552F2FB3951D64SHA1: 8D31A5D63B8278C017A24977E825D4C2C266E8E0

x86

System.data.resources.dll

2.0.50727.4016

344,064

16-Apr-2009

06:36

MD5: 57D8767E1A2277838D688E5330193532SHA1: 4A7ADDDF7C0B1E8FE1ED1A637204403F6361DCE6

x86

System.data.resources.dll

2.0.50727.4016

348,160

16-Apr-2009

06:41

MD5: 6CF22A1F9EA222FF9839A4D881C529A2SHA1: 216D5F551868326A6BDA3E1C5D9387987FD6B1F5

x86

System.data.resources.dll

2.0.50727.4016

401,408

16-Apr-2009

06:37

MD5: 1A4D2526D4F69D796EACA29921F0C15BSHA1: 928D37F7FAEBABB9E32FD22597BD3311648FB1C4

x86

System.data.resources.dll

2.0.50727.4016

339,968

16-Apr-2009

06:42

MD5: 75D1606D9CDB782BEEE77A21A764F123SHA1: 1B09D2E5FB2B3F1F5CE0367791C9718BA15FEB76

x86

System.data.resources.dll

2.0.50727.4016

339,968

16-Apr-2009

06:44

MD5: A303A3E3865CD61FBAA826290B953555SHA1: 6BF01C3CBB52FAD34BB40BC4619D90CDE87669C3

x86

System.data.resources.dll

2.0.50727.4016

323,584

16-Apr-2009

05:59

MD5: 47FE126F3246C548D0ABC66ABAD0783BSHA1: 5F8554102C3445642769D3EE71D6E243D7E0FF0A

x86

System.data.resources.dll

2.0.50727.4016

327,680

16-Apr-2009

06:00

MD5: 6DC0805AE1B2EA107EEADF5CB1AE2575SHA1: 3815EDA922C2D5200734FEF5EF452B2F4B91A703

x86

System.data.dll

2.0.50727.4452

2,934,272

30-Apr-2010

13:24

MD5: BD8312B22CBAC3F85C7075443BF249BCSHA1: 5EE68B7750E368214D5CC7873CD647C23CE491C6

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: A143A21157EE2DC9835DD12D8ACCCBE2SHA1: 0E7ECE3C9EC59DE3681ACDD121B8D3A9F474AA2D

IA-64

System.data.resources.dll

2.0.50727.4016

352,256

16-Apr-2009

06:00

MD5: CDEE3FBF5B1F321AFEDE5049AEE8E59ESHA1: 704CC80EE394D066DB44F8AFE05AF64CE003A862

x86

System.data.resources.dll

2.0.50727.4016

352,256

16-Apr-2009

06:00

MD5: A359B23A12B165F10B877BF55E5B66F3SHA1: FE26E8A78E77A88267230D022CA0CBB79D4C84F5

x86

System.data.resources.dll

2.0.50727.4016

368,640

16-Apr-2009

06:01

MD5: 276F5A56D72DD11E22235910F04A2D09SHA1: 21C87C44FE5DD7D9C841BE890E04662763061237

x86

System.data.resources.dll

2.0.50727.4016

352,256

16-Apr-2009

06:02

MD5: 4AB6ACC30F2EC707C33FBDBAA1889CA2SHA1: F432000AEA1156B4CA7EDC7E84171E0263E7CC16

x86

System.data.resources.dll

2.0.50727.4016

323,584

16-Apr-2009

06:03

MD5: 60204472DECE5B06A008C40C08A23432SHA1: 9E2B4BC2BE03846795AF9B68ECEC026E02B51540

x86

System.data.resources.dll

2.0.50727.4016

327,680

16-Apr-2009

06:04

MD5: 6F716456A67A0D2F8D0477D7514959E1SHA1: 73E3B5749BBBE2BB3483F25EAFB583F08E0DE942

x86

System.data.dll

2.0.50727.4452

2,934,272

30-Apr-2010

13:24

MD5: BD8312B22CBAC3F85C7075443BF249BCSHA1: 5EE68B7750E368214D5CC7873CD647C23CE491C6

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

More Information

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.