zoukankan      html  css  js  c++  java
  • 异常处理之IIS配置加载出错

    问题详情:

     一台部署在海外服务器,在管理IIS过程中,出现问题

    There was an error when trying to connect. Do you want > to retype your credentials and try again?

    Details:

    Filename:

    ?C:Windowssystem32inetsrvconfig> applicationHost.config Line number: 1 Error: Configuration file is not well-formed XML

    解决方案:

    找到 C:inetpubhistory. 里面最新的一个IIS配置文件applicationhost.config,覆盖 C:Windowssystem32inetsrvconfigapplicationhost.config

    原因分析
    1. 在覆盖之前,打开 C:Windowssystem32inetsrvconfigapplicationhost.config 这个文件,发现config里面的内容全部乱码。如果损坏iis的配置,iis管理就无法打开,配置加载错。
    2. C:inetpubhistory这个目录存在着每次变更后的一些备份可以用于iis的配置的恢复。

    论坛stackoverflow上也有相关讨论,详细地址

  • 相关阅读:
    CSS3中制作倒影box-reflect
    JS中==与===区别
    CSS3-Animation
    CSS3-transform
    CSS3-transition
    CSS盒模型-box-sizing
    css兼容处理-hack
    CSS3-rgba
    CSS3-文本-word-wrap,word-break,white-space
    CSS3-文本-text-shadow
  • 原文地址:https://www.cnblogs.com/therhub/p/10065515.html
Copyright © 2011-2022 走看看