Microsoft KB Archive/832591

= FIX: A race condition in Web service configuration handling causes a System.InvalidOperationException exception =

Article ID: 832591

Article Last Modified on 10/26/2005

-

APPLIES TO


 * Microsoft .NET Framework 1.0
 * Microsoft .NET Framework Software Development Kit 1.0 Service Pack 2

-





SYMPTOMS
When you query a Web service for the Web Services Description Language (WSDL), you may receive the following exception:

System.InvalidOperationException: There was an error reflecting 'System.Web.Services.Description.ServiceDescription'. ---> System.InvalidOperationException: You need to add XmlChoiceIdentifierAttribute to the 'Extensions' member.

This exception occurs because a race condition in Web service configuration handling corrupts the ServiceDescription object for the Web service.



RESOLUTION
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

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.

The English version of this hotfix has the file attributes (or later) 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 tool in Control Panel.

 Date         Time   Version       Size       File name                                         Platform --- 21-Nov-2003  03:39  1.0.3705.473    200,704  Aspnet_isapi.dll                                  x86 21-Nov-2003 03:32                    4,169  Aspnet_perf.h  21-Nov-2003  03:39                  513,302  Aspnet_perf.ini 21-Nov-2003 03:39                  510,714  Aspnet_perf2.ini 21-Nov-2003 03:39  1.0.3705.473     24,576  Aspnet_regiis.exe                                 x86 21-Nov-2003 03:39  1.0.3705.473     28,672  Aspnet_wp.exe                                     x86 21-Nov-2003 02:54  1.0.3705.473     69,632  Corperfmonext.dll                                 x86 17-Jun-2003 21:43                   16,597  Installpersistsqlstate.sql 17-Jun-2003 21:43                   17,331  Installsqlstate.sql 09-Sep-2003 00:28                   17,807  Installsqlstatetemplate.sql 21-Nov-2003 02:52  1.0.3705.473    303,104  Mscorjit.dll                                      x86 21-Nov-2003 17:46  1.0.3705.473  1,953,792  Mscorlib.dll                                      x86 21-Nov-2003 02:46                   10,288  Mscorlib.ldo 21-Nov-2003 02:53  1.0.3705.473  2,273,280  Mscorsvr.dll                                      x86 21-Nov-2003 02:54  1.0.3705.473  2,269,184  Mscorwks.dll                                      x86 21-Nov-2003 03:36  1.0.3705.473     20,480  Perfcounter.dll                                   x86 23-Aug-2002 02:23                       15  Smartnav.htm 30-Jul-2003 00:04                    8,728  Smartnav.js  21-Nov-2003  17:47  1.0.3705.473  1,179,648  System.data.dll                                   x86 21-Nov-2003 17:46  1.0.3705.473  1,695,744  System.design.dll                                 x86 21-Nov-2003 17:45  1.0.3705.473  1,175,552  System.dll                                        x86 21-Nov-2003 17:42  1.0.3705.473    241,664  System.messaging.dll                              x86 21-Nov-2003 17:42  1.0.3705.473    311,296  System.runtime.remoting.dll                       x86 21-Nov-2003 17:41  1.0.3705.473    131,072  System.runtime.serialization.formatters.soap.dll  x86 21-Nov-2003 17:45  1.0.3705.473  1,200,128  System.web.dll                                    x86 21-Nov-2003 17:43  1.0.3705.473    507,904  System.web.services.dll                           x86 21-Nov-2003 17:46  1.0.3705.473  1,994,752  System.windows.forms.dll                          x86 21-Nov-2003 03:45                   16,660  System.windows.forms.ldo 21-Nov-2003 03:40  1.0.3705.473     57,344  System.windows.forms.tlb 21-Nov-2003 17:45  1.0.3705.473  1,302,528  System.xml.dll                                    x86 21-Nov-2003 17:39  1.0.3705.473     32,768  Tlbimp.exe                                        x86 17-Jun-2003 21:43                    1,419  Uninstallpersistsqlstate.sql 09-Sep-2003 00:28                    2,119  Uninstallsqlstatetemplate.sql 21-Nov-2003 17:40  1.0.3705.473     65,536  Wsdl.exe                                          x86



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section of this article.



MORE INFORMATION
For additional information, 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

Keywords: kbbug kbfix kbqfe kbhotfixserver KB832591

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.