FIX: Error message when you try to use IIS 7.0 Manager to edit a web.config file that contains an XML fragment which includes xmlns: "Cannot write configuration file"
This issue occurs because the configuration section that you are trying to insert contains an XML fragment which includes xmlns. When you write xmlns back to the .config file, the IIS configuration system misunderstands the configuration section and incorrectly uses the qualified name as the local name.
The exception may occur when you try to edit the applicationhost.config file or the web.config file through IIS 7.0 manager.
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:
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
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.
For all supported 32-bit versions of Windows Server 2008 and of Windows Vista
Collapse this tableExpand this table
File name
File version
File size
Date
Time
Platform
Admwprox.dll
7.0.6001.22304
51,712
07-Nov-2008
04:29
x86
Ahadmin.dll
7.0.6001.22304
27,136
07-Nov-2008
04:29
x86
Appcmd.exe
7.0.6001.22304
154,112
07-Nov-2008
04:28
x86
Appcmd.xml
Not Applicable
3,654
18-Dec-2007
21:00
Not Applicable
Applicationhost.config
Not Applicable
7,989
18-Dec-2007
21:00
Not Applicable
Appobj.dll
7.0.6001.22304
311,808
07-Nov-2008
04:29
x86
Aspnetca.exe
7.0.6001.22304
182,784
07-Nov-2008
04:28
x86
Aspnet_schema.xml
Not Applicable
38,786
18-Dec-2007
21:00
Not Applicable
Fx_schema.xml
Not Applicable
26,971
18-Dec-2007
21:00
Not Applicable
Iismig.dll
7.0.6001.22304
209,408
07-Nov-2008
04:29
x86
Iisreg.dll
7.0.6001.22304
89,088
07-Nov-2008
04:29
x86
Iisres.dll
7.0.6001.22304
193,024
07-Nov-2008
02:44
x86
Iisreset.exe
7.0.6001.22304
14,848
07-Nov-2008
04:28
x86
Iisrstap.dll
7.0.6001.22304
8,192
07-Nov-2008
04:29
x86
Iisrstas.exe
7.0.6001.22304
31,232
07-Nov-2008
04:28
x86
Iisrtl.dll
7.0.6001.22304
153,600
07-Nov-2008
04:29
x86
Iissetup.exe
7.0.6001.22304
228,864
07-Nov-2008
04:28
x86
Iissyspr.dll
7.0.6001.22304
59,392
07-Nov-2008
04:29
x86
Iisutil.dll
7.0.6001.22304
202,752
07-Nov-2008
04:29
x86
Iis_schema.xml
Not Applicable
77,747
09-Sep-2008
22:22
Not Applicable
Nativerd.dll
7.0.6001.22304
331,264
07-Nov-2008
04:29
x86
Redirection.config
Not Applicable
490
18-Dec-2007
21:00
Not Applicable
Rsca.dll
7.0.6001.22304
26,624
07-Nov-2008
04:29
x86
Rscaext.dll
6.0.6001.22304
38,912
07-Nov-2008
04:29
x86
Rscaext.xml
Not Applicable
8,363
18-Dec-2007
21:00
Not Applicable
W3ctrlps.dll
7.0.6001.22304
9,216
07-Nov-2008
04:29
x86
Wamregps.dll
7.0.6001.22304
10,752
07-Nov-2008
04:29
x86
For all supported 64-bit versions of Windows Server 2008 and of Windows Vista
Collapse this tableExpand this table
File name
File version
File size
Date
Time
Platform
Admwprox.dll
7.0.6001.22304
54,784
07-Nov-2008
06:12
x64
Ahadmin.dll
7.0.6001.22304
61,440
07-Nov-2008
06:12
x64
Appcmd.exe
7.0.6001.22304
191,488
07-Nov-2008
06:10
x64
Appcmd.xml
Not Applicable
3,654
18-Dec-2007
21:00
Not Applicable
Applicationhost.config
Not Applicable
7,989
18-Dec-2007
21:00
Not Applicable
Appobj.dll
7.0.6001.22304
379,392
07-Nov-2008
06:12
x64
Aspnetca.exe
7.0.6001.22304
218,624
07-Nov-2008
06:10
x64
Aspnet_schema.xml
Not Applicable
38,786
18-Dec-2007
21:01
Not Applicable
Fx_schema.xml
Not Applicable
26,971
18-Dec-2007
21:01
Not Applicable
Iismig.dll
7.0.6001.22304
242,688
07-Nov-2008
06:12
x64
Iisreg.dll
7.0.6001.22304
111,616
07-Nov-2008
06:12
x64
Iisres.dll
7.0.6001.22304
193,024
07-Nov-2008
04:21
x64
Iisreset.exe
7.0.6001.22304
16,896
07-Nov-2008
06:11
x64
Iisrstap.dll
7.0.6001.22304
11,264
07-Nov-2008
06:12
x64
Iisrstas.exe
7.0.6001.22304
34,816
07-Nov-2008
06:11
x64
Iisrtl.dll
7.0.6001.22304
192,512
07-Nov-2008
06:12
x64
Iissetup.exe
7.0.6001.22304
280,064
07-Nov-2008
06:11
x64
Iissyspr.dll
7.0.6001.22304
66,560
07-Nov-2008
06:12
x64
Iisutil.dll
7.0.6001.22304
275,456
07-Nov-2008
06:12
x64
Iis_schema.xml
Not Applicable
77,747
09-Sep-2008
23:02
Not Applicable
Nativerd.dll
7.0.6001.22304
416,768
07-Nov-2008
06:12
x64
Redirection.config
Not Applicable
490
18-Dec-2007
21:01
Not Applicable
Rsca.dll
7.0.6001.22304
31,232
07-Nov-2008
06:12
x64
Rscaext.dll
6.0.6001.22304
44,032
07-Nov-2008
06:12
x64
Rscaext.xml
Not Applicable
8,363
18-Dec-2007
21:01
Not Applicable
W3ctrlps.dll
7.0.6001.22304
13,824
07-Nov-2008
06:12
x64
Wamregps.dll
7.0.6001.22304
15,872
07-Nov-2008
06:12
x64
For all supported Itanium-based versions of Windows Server 2008