今天 早晨这个config文件一下变成空白了,IIS不能启动了。。。
http://www.yeschandana.com/?p=142
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.
- Go to the Command Propmet.
- Change the path to > %windir%/system32/inetsrv/
- Find the current backup list >%windir%/system32/inetsrv/appcmd.exe list backup
- Select the latest backup by sequence number
- Restore the backup > %windir%/system32/inetsrv/appcmd.exe restore backup <backup name>
- 或者找到这个最新的备份覆盖原来的,因为执行命令有可能会遇到访问被拒。
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