Help and Support
 

powered byLive Search

Client applications that use a Web service may not work as expected after you upgrade to ASP.NET 2.0

Article ID:909682
Last Review:December 3, 2007
Revision:1.1

SYMPTOMS

Consider the following scenario:
You host an .asmx Web page on a computer where the Microsoft .NET Framework 1.1 is installed. The Web service page contains an Enum class.
Client applications that use the Web service work as expected to generate a Web service proxy file for the .asmx page.
You upgrade the Web server to Microsoft ASP.NET 2.0.
You start a client application that uses the Web service.
In this scenario, client applications may not work as expected.

Back to the top

CAUSE

This problem occurs when the XMLElementAttribute attribute has qualified names where the field names are the same, but the namespace is different. This causes the reflection order of the fields in the Enum class to change after you install ASP.NET 2.0. The change in the reflection order may cause a client application not to work as expected.

Back to the top

STATUS

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

Back to the top


APPLIES TO
Microsoft .NET Framework 2.0

Back to the top

Keywords: 
kbtshoot kbbug kbnofix kbprb KB909682

Back to the top

Article Translations

 

Related Support Centers

Other Support Options

  • Need More Help?
    Contact a Support professional by Email, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.