Article ID: 870722 - View products that this article applies to.
When a duplicate import schema is encountered during compilation, System.xml may throw the following error message:
Item has already been added. Key in dictionary:"file:///C:/C.xsd" Key being added: "file:///C:/C.xsd"
Although this problem occurs in both the Microsoft .NET Framework 1.0 and in the .NET Framework 1.1, this resolution only applies to the .NET Framework 1.1.
To apply this hotfix, your computer must be running the .NET Framework 1.1.
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Microsoft .NET Framework 1.1 service pack that contains this hotfix.
To resolve this problem immediately, 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=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. 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 tool in Control Panel.
Date Time Version Size File name -------------------------------------------------------------- 29-Jun-2004 02:42 1.1.4322.1059 258,048 Aspnet_isapi.dll 29-Jun-2004 02:42 1.1.4322.1059 20,480 Aspnet_regiis.exe 29-Jun-2004 02:42 1.1.4322.1059 32,768 Aspnet_state.exe 29-Jun-2004 02:42 1.1.4322.1059 32,768 Aspnet_wp.exe 14-Jun-2004 21:45 33,718 Installpersistsqlstate.sql 14-Jun-2004 21:45 34,342 Installsqlstate.sql 14-Jun-2004 21:45 35,243 Installsqlstatetemplate.sql 24-May-2004 23:04 1.0.3705.0 106,496 Netfxupdate.exe 29-Jun-2004 02:42 1.1.4322.1059 94,208 Perfcounter.dll 24-May-2004 23:04 1.1.4322.573 102,400 Setregni.exe 14-Jun-2004 21:45 8,685 Smartnav.js 29-Jun-2004 02:42 1.1.4322.1059 1,224,704 Sy52106.dll 29-Jun-2004 02:42 1.1.4322.1059 241,664 System.messaging.dll 29-Jun-2004 02:42 1.1.4322.1059 323,584 System.runtime.remoting.dll 29-Jun-2004 02:42 1.1.4322.1059 131,072 System.runtime.serialization.formatters.soap.dll 29-Jun-2004 02:42 1.1.4322.1059 1,257,472 System.web.dll 29-Jun-2004 02:42 1.1.4322.1059 819,200 System.web.mobile.dll 29-Jun-2004 02:42 1.1.4322.1059 569,344 System.web.services.dll 29-Jun-2004 02:42 1.1.4322.1059 1,339,392 System.xml.dll 24-May-2004 23:04 1.1.4322.573 118,784 Togac.exe 14-Jun-2004 21:45 2,119 Uninstallsqlstatetemplate.sql 14-Jun-2004 21:45 14,482 Webuivalidation.js
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.
This problem may occur when you compile a duplicate schema, such as the following:
A.xsd imports B.xsd and C.xsd, and then B.xsd also imports C.xsd.
Steps to reproduce the problem
Contact us for more help
Connect with Answer Desk for expert help.