Corrupted applicationHost.config file in IIS 7

本文介绍了解决IIS7中applicationHost.config文件损坏的方法。当该文件被截断时,可以通过从备份文件夹C:/inetpub/history/中复制之前的版本来恢复。这样可以避免丢失所有设置并重新配置IIS。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Corrupted applicationHost.config file in IIS 7

 

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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值