FIX: Error message when a .NET Framework 2.0-based application calls the XmlTextReader.Read function repeatedly: "'Permission' start tag on line 171 does not match the end tag of 'PermissionRead'"

Article translations Article translations
Article ID: 962890 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

When a Microsoft .NET Framework 2.0-based application calls the XmlTextReader.Read function repeatedly, you receive an exception error message that resembles the following:
'Permission' start tag on line 171 does not match the end tag of 'PermissionRead'. Line 171, position 37.
This exception occurs if one element name is a prefix of another element name. For example, this exception occurs if you have the Permission element and the PermissionRead element.

CAUSE

This problem occurs because the same hash code is generated for each element.

RESOLUTION

Hotfix Replacement Information

The hotfix that corresponds to KB962890 has been superseded with the hotfix KB976814, which contains all fixes that were previously included in KB962890. You should use the hotfix KB976814 to fix the issues described in KB962890. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
976814 FIX: A System.InvalidOperationException exception occurs when you use a WCF client proxy that is generated by the ServiceModel Metadata Utility tool from the service metadata that is in the .NET Framework 3.5

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

Properties

Article ID: 962890 - Last Review: August 4, 2010 - Revision: 6.0
APPLIES TO
  • Microsoft .NET Framework 2.0
  • Microsoft .NET Framework 2.0 Service Pack 1 (x86)
  • Microsoft .NET Framework 2.0 Service Pack 2
Keywords: 
kbexpertiseadvanced kbfix kbsurveynew kbqfe KB962890

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com