如果iis的配置文件 applicationHost.config坏掉了, 会在 C:\inetpub\history\ 中存储历史备份。复制过去还原就可以了-摘自网络...

You will usually get the error ‘Configuration file is not well-formed XML’ ‘C:\Windows\system32\inetsrv\config\applicationHost.config’ when you open IIS manager or get the error Windows Process Activation service (WAS) could not start – Error 13 The data is invalid, while restarting IIS from the command prompt  specially on Windows 2008 server .

Usually you will get this error when the applicationHost.config gets corrupt at the following path C:\Windows\system32\inetsrv\config\ . Fortunately IIS makes the backup of the configuration file “applicationHost.config” at the path C:\inetpub\history whenever any change in IIS configuration is made .

To resolve the problem goto the path C:\inetpub\history\CFGHISTORY and copy the latest applicationHost.config and replace the file applicationHost.config at C:\Windows\system32\inetsrv\config .

Now restart the IIS .

转载于:https://www.cnblogs.com/haoliansheng/p/3363225.html

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

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值