IIS7 stores its parameters in an XML file, located typically at C:/Windows/System32/inetsrv/config/applicationHost.config. This is a nice solution as every parameter is clearly readable. Unfortunately, there are still some bugs (maybe in IIS 7, but some problems with anti virus programs have also been reported) and this file may be corrupted.
What to do when this file is truncated? Reset it and loose all of your settings?
Luckily IIS makes a backup each time you make a change. All those versions are stored in the folder C:/inetpub/history/. All you have to do is to copy a former applicationHost.config file into the C:/Windows/System32/inetsrv/config/ working directory
本文介绍了解决IIS7中applicationHost.config文件损坏的方法。当该文件被截断时,可以通过从备份文件夹C:/inetpub/history/中复制之前的版本来恢复。这样可以避免丢失所有设置并重新配置IIS。
1975

被折叠的 条评论
为什么被折叠?



