‘Configuration file is not well-formed XML’ ‘C:\Windows\system32\inetsrv\config\applicationHost.config’

Hello,

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 .


Comments are closed.

(adsbygoogle = window.adsbygoogle || []).push({}); //--> Feedjit Flag Counter