applicationHost.config - Configuration file is not well-formed XML

今天 早晨这个config文件一下变成空白了,IIS不能启动了。。。

http://www.yeschandana.com/?p=142

 

Error

This is totally IIS configuration related issue as applicationHost.config marked as corrupted. You may get this error due to various reasons like OneCare or Forefront is running on the same machine, unmanaged restoration, erroneous editing of applicationHost.config, etc. Here I am going to show you quick recovery method without going any deep. Technically we are going to restore the applicationHost.config file form IIS generated backups by using AppCmd.exe command line tool.

  1. Go to the Command Propmet.
  2. Change the path to > %windir%/system32/inetsrv/
  3. Find the current backup list >%windir%/system32/inetsrv/appcmd.exe list backup
  4. Select the latest backup by sequence number
  5. Restore the backup > %windir%/system32/inetsrv/appcmd.exe restore backup <backup name>
  6. 或者找到这个最新的备份覆盖原来的,因为执行命令有可能会遇到访问被拒。

CMD

If you want to enjoy more technical details about this issue or its related technical resources, this is the best article : http://tinyurl.com/5edqb7

Tags: IIS 7TIPWindows

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值