The XML format of the IIS configuration file is incorrect applicationhost.config crash recovery workaround

Source: Internet
Author: User

Error when you open IIS Manager or configure a Web site: The XML format of the configuration file is incorrect

and is the applicationhost.config problem, then it must be ApplicationHost.config is destroyed, IIS crashes.

The solution is to restore applicationhost.config.

Check the ApplicationHost.config file in the C:\Windows\System32\inetsrv\config directory first, it is best to back up a copy

Use the AppCmd.exe Restore feature provided by IIS to recover ApplicationHost.config

Run the command prompt, type cd%windir%\system32\inetsrv, and then press Enter

Run the Appcmd list Backup command to display all available backups. Then we select a backup and run Appcmd restore backup <backup name>

Done!

Http://www.cnblogs.com/yuejin/p/3385584.html

The XML format of the IIS configuration file is incorrect applicationhost.config crash recovery workaround

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.