FIX: The TextFieldParser.EndOfData method returns True when the TextFieldParser object does not reach the end of text data in a Microsoft .NET Framework 2.0-based application or a Microsoft .NET Framework 3.5 SP1-based application

Symptoms

You call the TextFieldParser.EndOfData method to detect the end of text data in a Microsoft .NET Framework 2.0-based or a Microsoft .NET Framework 3.5 SP1-based application. However, sometimes the method returns True unexpectedly even if the TextFieldParser object does not reach the end of text data.

Cause

This problem occurs because of an incorrect algorithm in the TextFieldParser class. Specifically, the stream stops reading before the end of the data is reached.

Resolution

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 website:Note 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 .NET Framework 2.0 SP2 or .NET Framework 3.5 SP1 installed to apply this hotfix.

Restart requirement

You do not have to restart the computer after you apply the hotfix if no affected file is 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.


x86 version of Windows Server 2003 and Windows XP
File nameFile versionFile sizeDateTimePlatform
Microsoft.visualbasic.dll8.0.50727.4463659,45614-Jul-201017:32x86

x64 version of Windows Server 2003 and Windows XP
File nameFile versionFile sizeDateTimePlatform
Microsoft.visualbasic.dll8.0.50727.4463659,45614-Jul-201002:49x64

Itanium-64 version of Windows Server 2003 and Windows XP
File nameFile versionFile sizeDateTimePlatform
Microsoft.visualbasic.dll8.0.50727.4463659,45614-Jul-201002:49IA-64

x86 version of Windows Vista SP2 and Windows Server 2008 SP2
File nameFile versionFile sizeDateTimePlatform
Microsoft.visualbasic.dll8.0.50727.4463659,45620-Jul-201010:54x86
x64 version of Windows Vista SP2 and Windows Server 2008 SP2
File nameFile versionFile sizeDateTimePlatform
Microsoft.visualbasic.dll8.0.50727.4463659,45620-Jul-201010:54x86
Itanium-based version of Windows Server 2008 SP2
File nameFile versionFile sizeDateTimePlatform
Microsoft.visualbasic.dll8.0.50727.4463659,45620-Jul-201010:54x86
x86 version of Windows 7.0
File nameFile versionFile sizeDateTimePlatform
Microsoft.visualbasic.dll8.0.50727.5021610,30420-Jul-201021:27x86
x64 version of Windows 7.0 and Windows Server 2008 R2
File nameFile versionFile sizeDateTimePlatform
Microsoft.visualbasic.dll8.0.50727.5021610,30420-Jul-201022:40x64
Itanium-based version of Windows Server 2008 R2
File nameFile versionFile sizeDateTimePlatform
Microsoft.visualbasic.dll8.0.50727.5021610,30420-Jul-201022:38IA-64

Status

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

More Information

For more information about the TextFieldParser.EndOfData property, visit the following Microsoft website:For 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
Propriedades

ID do Artigo: 2254512 - Última Revisão: 18/11/2010 - Revisão: 1

Comentários