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:

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 .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 name

File version

File size

Date

Time

Platform

Microsoft.visualbasic.dll

8.0.50727.4463

659,456

14-Jul-2010

17:32

x86


x64 version of Windows Server 2003 and Windows XP

File name

File version

File size

Date

Time

Platform

Microsoft.visualbasic.dll

8.0.50727.4463

659,456

14-Jul-2010

02:49

x64


Itanium-64 version of Windows Server 2003 and Windows XP

File name

File version

File size

Date

Time

Platform

Microsoft.visualbasic.dll

8.0.50727.4463

659,456

14-Jul-2010

02:49

IA-64


x86 version of Windows Vista SP2 and Windows Server 2008 SP2

File name

File version

File size

Date

Time

Platform

Microsoft.visualbasic.dll

8.0.50727.4463

659,456

20-Jul-2010

10:54

x86

x64 version of Windows Vista SP2 and Windows Server 2008 SP2

File name

File version

File size

Date

Time

Platform

Microsoft.visualbasic.dll

8.0.50727.4463

659,456

20-Jul-2010

10:54

x86

Itanium-based version of Windows Server 2008 SP2

File name

File version

File size

Date

Time

Platform

Microsoft.visualbasic.dll

8.0.50727.4463

659,456

20-Jul-2010

10:54

x86

x86 version of Windows 7.0

File name

File version

File size

Date

Time

Platform

Microsoft.visualbasic.dll

8.0.50727.5021

610,304

20-Jul-2010

21:27

x86

x64 version of Windows 7.0 and Windows Server 2008 R2

File name

File version

File size

Date

Time

Platform

Microsoft.visualbasic.dll

8.0.50727.5021

610,304

20-Jul-2010

22:40

x64

Itanium-based version of Windows Server 2008 R2

File name

File version

File size

Date

Time

Platform

Microsoft.visualbasic.dll

8.0.50727.5021

610,304

20-Jul-2010

22:38

IA-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:

http://msdn.microsoft.com/en-us/library/23z4d2dw(VS.90).aspxFor 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

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×