FIX: Internet Information Services 7.0 removes custom values in the Web.config file

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

On This Page

SYMPTOMS

When you modify the configuration for any delegated feature, Internet Information Services (IIS) 7.0 removes custom values in the Web.config file.

For example, consider the following scenario. The following information is part of the Web.config file:
 <applicationSettings>
    <TestObject.Settings>
      <setting name="TestSetting" serializeAs="String">
        <value>TestValue</value>
      </setting>
    </TestObject.Settings>
</applicationSettings>
You take one of the following actions:
  • You modify a delegated feature from the user interface (UI).
  • You modify the Appcmd.exe file.
  • You modify programmatic means.
In this scenario, the information in the Web.config file changes to the following:
<applicationSettings>
    <TestObject.Settings>
      <setting name="TestSetting" serializeAs="String">
        <value></value>
      </setting>
    </TestObject.Settings>
</applicationSettings>

RESOLUTION

Service pack information

To resolve this problem, obtain the latest service pack for Windows Vista. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
935791 How to obtain the latest Windows Vista service pack

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 this specific problem. 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.

Prerequisites

No prerequisites are required.

Restart requirement

You do not have to restart the computer after you apply this hotfix. However, you must restart IIS.

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.
Windows Vista, x86-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Admwprox.dll7.0.6000.2059051,20002-May-200711:32x86
Appcmd.exe7.0.6000.20590150,52802-May-200711:02x86
Appcmd.xmlNot applicable3,65402-May-200700:28Not applicable
Applicationhost.configNot applicable7,68507-Jan-200705:27Not applicable
Appobj.dll7.0.6000.20590297,47202-May-200711:32x86
Aspnetca.exe7.0.6000.20590178,17602-May-200711:02x86
Aspnet_schema.xmlNot applicable38,89007-Jan-200705:27Not applicable
Fx_schema.xmlNot applicable27,01407-Jan-200705:27Not applicable
Iismig.dll7.0.6000.20590128,51202-May-200711:34x86
Iisreg.dll7.0.6000.2059089,08802-May-200711:33x86
Iisres.dll7.0.6000.20590183,80802-May-200709:56x86
Iisreset.exe7.0.6000.2059014,84802-May-200711:01x86
Iisrstap.dll7.0.6000.205908,19202-May-200711:33x86
Iisrstas.exe7.0.6000.2059030,72002-May-200711:01x86
Iisrtl.dll7.0.6000.20590148,48002-May-200711:33x86
Iissetup.exe7.0.6000.20590195,07202-May-200711:02x86
Iissyspr.dll7.0.6000.2059031,23202-May-200711:33x86
Iisutil.dll7.0.6000.20590189,95202-May-200711:33x86
Iis_schema.xmlNot applicable67,01707-Jan-200705:27Not applicable
Nativerd.dll7.0.6000.20590236,03202-May-200711:34x86
Rsca.dll7.0.6000.2059026,62402-May-200711:34x86
W3ctrlps.dll7.0.6000.205909,21602-May-200711:35x86
Wamregps.dll7.0.6000.2059010,75202-May-200711:35x86
Windows Vista, 64-bit versions that are running on Advanced Micro Devices (AMD) AMD64-architecture systems
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Admwprox.dll7.0.6000.2059054,78402-May-200712:37x64
Appcmd.exe7.0.6000.20590186,88002-May-200711:31x64
Appcmd.xmlNot applicable3,65402-May-200700:26Not applicable
Applicationhost.configNot applicable7,68507-Jan-200705:27Not applicable
Appobj.dll7.0.6000.20590359,93602-May-200712:37x64
Aspnetca.exe7.0.6000.20590214,01602-May-200711:31x64
Aspnet_schema.xmlNot applicable38,89007-Jan-200705:27Not applicable
Fx_schema.xmlNot applicable27,01407-Jan-200705:27Not applicable
Iismig.dll7.0.6000.20590150,01602-May-200712:40x64
Iisreg.dll7.0.6000.20590111,61602-May-200712:38x64
Iisres.dll7.0.6000.20590183,80802-May-200709:50x64
Iisreset.exe7.0.6000.2059018,43202-May-200711:30x64
Iisrstap.dll7.0.6000.2059011,26402-May-200712:38x64
Iisrstas.exe7.0.6000.2059034,81602-May-200711:30x64
Iisrtl.dll7.0.6000.20590185,85602-May-200712:38x64
Iissetup.exe7.0.6000.20590241,15202-May-200711:31x64
Iissyspr.dll7.0.6000.2059036,35202-May-200712:38x64
Iisutil.dll7.0.6000.20590276,48002-May-200712:38x64
Iis_schema.xmlNot applicable67,01707-Jan-200705:27Not applicable
Nativerd.dll7.0.6000.20590310,27202-May-200712:39x64
Rsca.dll7.0.6000.2059031,23202-May-200712:40x64
W3ctrlps.dll7.0.6000.2059013,82402-May-200712:40x64
Wamregps.dll7.0.6000.2059015,87202-May-200712:40x64
Windows Vista, 64-bit versions that use the "Windows 32-bit on Windows 64-bit" (WOW64) subsystem
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Admwprox.dll7.0.6000.2059051,20002-May-200711:32x86
Appcmd.exe7.0.6000.20590150,52802-May-200711:02x86
Appcmd.xmlNot applicable3,65402-May-200700:28Not applicable
Appobj.dll7.0.6000.20590297,47202-May-200711:32x86
Aspnetca.exe7.0.6000.20590178,17602-May-200711:02x86
Iismig.dll7.0.6000.20590128,51202-May-200711:34x86
Iisreg.dll7.0.6000.2059089,08802-May-200711:33x86
Iisres.dll7.0.6000.20590183,80802-May-200709:56x86
Iisreset.exe7.0.6000.2059014,84802-May-200711:01x86
Iisrstap.dll7.0.6000.205908,19202-May-200711:33x86
Iisrtl.dll7.0.6000.20590148,48002-May-200711:33x86
Iissetup.exe7.0.6000.20590195,07202-May-200711:02x86
Iissyspr.dll7.0.6000.2059031,23202-May-200711:33x86
Iisutil.dll7.0.6000.20590189,95202-May-200711:33x86
Nativerd.dll7.0.6000.20590236,03202-May-200711:34x86
Rsca.dll7.0.6000.2059026,62402-May-200711:34x86
W3ctrlps.dll7.0.6000.205909,21602-May-200711:35x86
Wamregps.dll7.0.6000.2059010,75202-May-200711:35x86

WORKAROUND

To work around this problem, open the Web.config file, and then manually add the values that were removed from the file.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. This problem was first corrected in Windows Vista Service Pack 1.

Properties

Article ID: 930451 - Last Review: May 13, 2008 - Revision: 4.1
APPLIES TO
  • Microsoft Internet Information Services 7.0
Keywords: 
kbautohotfix kbvistasp1fix kbwinvistapostrtmfix kbexpertiseinter kbhotfixserver kbqfe KB930451

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