Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Corrupted ApplicationHost.config file in IIS 7.  (Read 3341 times)

0 Members and 1 Guest are viewing this topic.

Chetan Singh

  • Full Member
  • ***
  • Posts: 123
  • Karma: +2/-0
  • Bienvenido a las Tecnologías de la Admin-Ahead.
    • Admin-Ahead Server Technologies.
Corrupted ApplicationHost.config file in IIS 7.
« on: November 16, 2013, 10:21:01 am »
HI,

If you are unable to start/restart IIS and and getting error, please follow these steps to fix this.

Error:-
----------
The Windows Process Activation Service encountered an error trying to read configuration data from file ‘\\?\C:\Windows\system32\inetsrv\config\applicationHost.config’, line number ’0′. The error message is: ‘Configuration file is not well-formed XML’
----------

IIS makes a backup each time you make a change. All those versions are stored in the folder C:\inetpub\history\. All you have to do is to copy a former ApplicationHost.config file from the <C:\inetpub\history\> into the C:\Windows\System32\inetsrv\config\ working directory.

Now, you will be able to restart IIS without any issue.

Thank you,
Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!