Microsoft Knowledge Base Email Alertz

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

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 909682 - Last Review: December 3, 2007 - Revision: 1.2

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


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.

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.

STATUS

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

APPLIES TO
  • Microsoft .NET Framework 2.0
Keywords: 
kbtshoot kbprb kbnofix kbbug KB909682
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate