FIX: The applicationHost.config file may be temporarily inconsistent and you receive the "Configuration file is not well-formed XML" error message in a server that hosts IIS 7.0

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

On This Page

SYMPTOMS

On an Internet Information Services (IIS) 7.0 server, you may see one or more of the following symptoms. In the system event log, you may see one or more occurrences of event ID 2297 from source Microsoft-Windows-IIS-W3SVC-WP and event ID 5172 from source Microsoft-Windows-WAS that resemble the following.
Message 1

computer | Error | 10/27/2008 2:56:05 PM | Microsoft-Windows-IIS-W3SVC-WP | 2297
The worker process for application pool 'application pool id' encountered an error 'Configuration file is not well-formed XML
' trying to read global module configuration data from file 'path to the file', line number 'line number'. Worker process startup aborted.

Message 2

Computer | Error | 10/27/2008 2:55:41 PM | Microsoft-Windows-WAS | 5172
The Windows Process Activation Service encountered an error trying to read configuration data from file 'path to the file', line number 'line number'.
The error message is: 'Configuration file is not well-formed XML '. The data field contains the error number.

Additionally, client requests may receive a response with status code 503 "Service unavailable." You may see entries in the HTTP error logs with a status of "AppOffline."

Performing an IISRESET enables your Web sites to serve requests again.

CAUSE

This problem occurs because the configuration system reads the applicationHost.config file without locking it. If the IIS configuration file is being written to while the configuration is being read by the Windows Activation Service (WAS), the configuration may be inconsistent.

The following factors may make the problem more likely to occur:
  • A large (multi-megabyte) applicationHost.config file.
  • Frequent updates to the configuration (through direct modification of the applicationHost.config file or through one of the programmatic interfaces to the IIS configuration system (ABO, MWA, WMI).

RESOLUTION

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Important Windows Vista and Windows Server 2008 hotfixes are included in the same packages. However, only one of these products may be listed on the “Hotfix Request” page. To request the hotfix package that applies to both Windows Vista and Windows Server 2008, just select the product that is listed on the page.

Prerequisites

You must have Windows Vista Service Pack 1 or Windows Server 2008 installed to apply this hotfix.

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

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 item in Control Panel.

x86-based version

Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Admwprox.dll7.0.6001.2232951,71213-Dec-200804:27x86
Ahadmin.dll7.0.6001.2232927,13613-Dec-200804:27x86
Appcmd.exe7.0.6001.22329154,11213-Dec-200802:51x86
Appcmd.xmlNot Applicable3,65418-Dec-200721:00Not Applicable
Applicationhost.configNot Applicable7,98918-Dec-200721:00Not Applicable
Appobj.dll7.0.6001.22329311,80813-Dec-200804:27x86
Aspnetca.exe7.0.6001.22329182,78413-Dec-200802:52x86
Aspnet_schema.xmlNot Applicable38,78618-Dec-200721:00Not Applicable
Fx_schema.xmlNot Applicable26,97118-Dec-200721:00Not Applicable
Iismig.dll7.0.6001.22329209,40813-Dec-200804:32x86
Iisreg.dll7.0.6001.2232989,08813-Dec-200804:28x86
Iisres.dll7.0.6001.22329193,02413-Dec-200802:51x86
Iisreset.exe7.0.6001.2232914,84813-Dec-200802:51x86
Iisrstap.dll7.0.6001.223298,19213-Dec-200804:28x86
Iisrstas.exe7.0.6001.2232931,23213-Dec-200802:51x86
Iisrtl.dll7.0.6001.22329153,60013-Dec-200804:28x86
Iissetup.exe7.0.6001.22329228,86413-Dec-200802:52x86
Iissyspr.dll7.0.6001.2232959,39213-Dec-200804:28x86
Iisutil.dll7.0.6001.22329202,75213-Dec-200804:28x86
Iis_schema.xmlNot Applicable77,74709-Sep-200822:22Not Applicable
Nativerd.dll7.0.6001.22329331,26413-Dec-200804:31x86
Redirection.configNot Applicable49018-Dec-200721:00Not Applicable
Rsca.dll7.0.6001.2232926,62413-Dec-200804:31x86
Rscaext.dll6.0.6001.2232938,91213-Dec-200804:31x86
Rscaext.xmlNot Applicable8,36318-Dec-200721:00Not Applicable
W3ctrlps.dll7.0.6001.223299,21613-Dec-200804:32x86
Wamregps.dll7.0.6001.2232910,75213-Dec-200804:32x86

x64-based version

Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Admwprox.dll7.0.6001.2232954,78413-Dec-200804:58x64
Ahadmin.dll7.0.6001.2232961,44013-Dec-200804:58x64
Appcmd.exe7.0.6001.22329191,48813-Dec-200803:22x64
Appcmd.xmlNot Applicable3,65418-Dec-200721:00Not Applicable
Applicationhost.configNot Applicable7,98918-Dec-200721:00Not Applicable
Appobj.dll7.0.6001.22329379,39213-Dec-200804:58x64
Aspnetca.exe7.0.6001.22329218,62413-Dec-200803:22x64
Aspnet_schema.xmlNot Applicable38,78618-Dec-200721:01Not Applicable
Fx_schema.xmlNot Applicable26,97118-Dec-200721:01Not Applicable
Iismig.dll7.0.6001.22329242,68813-Dec-200805:06x64
Iisreg.dll7.0.6001.22329111,61613-Dec-200805:01x64
Iisres.dll7.0.6001.22329193,02413-Dec-200803:22x64
Iisreset.exe7.0.6001.2232916,89613-Dec-200803:21x64
Iisrstap.dll7.0.6001.2232911,26413-Dec-200805:01x64
Iisrstas.exe7.0.6001.2232934,81613-Dec-200803:21x64
Iisrtl.dll7.0.6001.22329192,51213-Dec-200805:01x64
Iissetup.exe7.0.6001.22329280,06413-Dec-200803:22x64
Iissyspr.dll7.0.6001.2232966,56013-Dec-200805:01x64
Iisutil.dll7.0.6001.22329275,45613-Dec-200805:01x64
Iis_schema.xmlNot Applicable77,74709-Sep-200823:02Not Applicable
Nativerd.dll7.0.6001.22329416,76813-Dec-200805:03x64
Redirection.configNot Applicable49018-Dec-200721:01Not Applicable
Rsca.dll7.0.6001.2232931,23213-Dec-200805:05x64
Rscaext.dll6.0.6001.2232944,03213-Dec-200805:05x64
Rscaext.xmlNot Applicable8,36318-Dec-200721:01Not Applicable
W3ctrlps.dll7.0.6001.2232913,82413-Dec-200805:07x64
Wamregps.dll7.0.6001.2232915,87213-Dec-200805:07x64
Admwprox.dll7.0.6001.2232951,71213-Dec-200804:27x86
Ahadmin.dll7.0.6001.2232927,13613-Dec-200804:27x86
Appcmd.exe7.0.6001.22329154,11213-Dec-200802:51x86
Appcmd.xmlNot Applicable3,65418-Dec-200721:00Not Applicable
Appobj.dll7.0.6001.22329311,80813-Dec-200804:27x86
Aspnetca.exe7.0.6001.22329182,78413-Dec-200802:52x86
Iismig.dll7.0.6001.22329209,40813-Dec-200804:32x86
Iisreg.dll7.0.6001.2232989,08813-Dec-200804:28x86
Iisres.dll7.0.6001.22329193,02413-Dec-200802:51x86
Iisreset.exe7.0.6001.2232914,84813-Dec-200802:51x86
Iisrstap.dll7.0.6001.223298,19213-Dec-200804:28x86
Iisrtl.dll7.0.6001.22329153,60013-Dec-200804:28x86
Iissetup.exe7.0.6001.22329228,86413-Dec-200802:52x86
Iissyspr.dll7.0.6001.2232959,39213-Dec-200804:28x86
Iisutil.dll7.0.6001.22329202,75213-Dec-200804:28x86
Nativerd.dll7.0.6001.22329331,26413-Dec-200804:31x86
Rsca.dll7.0.6001.2232926,62413-Dec-200804:31x86
Rscaext.dll6.0.6001.2232938,91213-Dec-200804:31x86
W3ctrlps.dll7.0.6001.223299,21613-Dec-200804:32x86
Wamregps.dll7.0.6001.2232910,75213-Dec-200804:32x86

IA-64 based version

Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Admwprox.dll7.0.6001.22329119,80813-Dec-200804:37IA-64
Ahadmin.dll7.0.6001.2232982,43213-Dec-200804:37IA-64
Appcmd.exe7.0.6001.22329404,99213-Dec-200803:13IA-64
Appcmd.xmlNot Applicable3,65418-Dec-200721:00Not Applicable
Applicationhost.configNot Applicable7,98918-Dec-200721:00Not Applicable
Appobj.dll7.0.6001.22329727,55213-Dec-200804:37IA-64
Aspnetca.exe7.0.6001.22329432,12813-Dec-200803:14IA-64
Aspnet_schema.xmlNot Applicable38,78618-Dec-200721:01Not Applicable
Fx_schema.xmlNot Applicable26,97118-Dec-200721:01Not Applicable
Iismig.dll7.0.6001.22329452,09613-Dec-200804:45IA-64
Iisreg.dll7.0.6001.22329143,87213-Dec-200804:41IA-64
Iisres.dll7.0.6001.22329193,02413-Dec-200803:13IA-64
Iisreset.exe7.0.6001.2232934,81613-Dec-200803:12IA-64
Iisrstap.dll7.0.6001.2232918,94413-Dec-200804:41IA-64
Iisrstas.exe7.0.6001.2232978,33613-Dec-200803:12IA-64
Iisrtl.dll7.0.6001.22329393,21613-Dec-200804:41IA-64
Iissetup.exe7.0.6001.22329543,23213-Dec-200803:14IA-64
Iissyspr.dll7.0.6001.22329134,65613-Dec-200804:41IA-64
Iisutil.dll7.0.6001.22329513,02413-Dec-200804:41IA-64
Iis_schema.xmlNot Applicable77,74709-Sep-200823:18Not Applicable
Nativerd.dll7.0.6001.22329899,58413-Dec-200804:43IA-64
Redirection.configNot Applicable49018-Dec-200721:01Not Applicable
Rsca.dll7.0.6001.2232974,24013-Dec-200804:45IA-64
Rscaext.dll6.0.6001.22329111,61613-Dec-200804:45IA-64
Rscaext.xmlNot Applicable8,36318-Dec-200721:01Not Applicable
W3ctrlps.dll7.0.6001.2232922,52813-Dec-200804:46IA-64
Wamregps.dll7.0.6001.2232928,16013-Dec-200804:46IA-64
Admwprox.dll7.0.6001.2232951,71213-Dec-200804:27x86
Ahadmin.dll7.0.6001.2232927,13613-Dec-200804:27x86
Appcmd.exe7.0.6001.22329154,11213-Dec-200802:51x86
Appcmd.xmlNot Applicable3,65418-Dec-200721:00Not Applicable
Appobj.dll7.0.6001.22329311,80813-Dec-200804:27x86
Aspnetca.exe7.0.6001.22329182,78413-Dec-200802:52x86
Iismig.dll7.0.6001.22329209,40813-Dec-200804:32x86
Iisreg.dll7.0.6001.2232989,08813-Dec-200804:28x86
Iisres.dll7.0.6001.22329193,02413-Dec-200802:51x86
Iisreset.exe7.0.6001.2232914,84813-Dec-200802:51x86
Iisrstap.dll7.0.6001.223298,19213-Dec-200804:28x86
Iisrtl.dll7.0.6001.22329153,60013-Dec-200804:28x86
Iissetup.exe7.0.6001.22329228,86413-Dec-200802:52x86
Iissyspr.dll7.0.6001.2232959,39213-Dec-200804:28x86
Iisutil.dll7.0.6001.22329202,75213-Dec-200804:28x86
Nativerd.dll7.0.6001.22329331,26413-Dec-200804:31x86
Rsca.dll7.0.6001.2232926,62413-Dec-200804:31x86
Rscaext.dll6.0.6001.2232938,91213-Dec-200804:31x86
W3ctrlps.dll7.0.6001.223299,21613-Dec-200804:32x86
Wamregps.dll7.0.6001.2232910,75213-Dec-200804:32x86

STATUS

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

REFERENCES

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: 960412 - Last Review: March 25, 2009 - Revision: 2.1
APPLIES TO
  • Microsoft Internet Information Services 7.0
Keywords: 
kbhotfixserver kbautohotfix kbexpertiseinter kbexpertiseadvanced kbqfe kbsurveynew KB960412

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