applicationHost.config - Configuration file is not well-formed XML

Error

This is totally IIS configuration related issue as applicationHost.config marked as corrupted. You may get this error due to various reasons like OneCare or Forefront is running on the same machine, unmanaged restoration, erroneous editing of applicationHost.config, etc. Here I am going to show you quick recovery method without going any deep. Technically we are going to restore the applicationHost.config file form IIS generated backups by using AppCmd.exe command line tool.

  1. Go to the Command Propmet.
  2. Change the path to > %windir%\system32\inetsrv\
  3. Find the current backup list > %windir%\system32\inetsrv\appcmd.exe list backup
  4. Select the latest backup by sequence number
  5. Restore the backup > %windir%\system32\inetsrv\appcmd.exe restore backup <backup name>

CMD

If you want to enjoy more technical details about this issue or its related technical resources, this is the best article : http://tinyurl.com/5edqb7

Tags: , ,

9 Responses to “applicationHost.config - Configuration file is not well-formed XML”

  1. Vinod Chakote Says:
    May 12th, 2009 at 8:09 pm

    Hi,

    It works fine….

    Excellant Post.

    Thanks.

  2. archlord gold Says:
    June 24th, 2009 at 10:38 am

    Wonderful article. I been looking for one on a similar note. I guess you always have something up your sleeve.

  3. Tiago Dias Says:
    July 4th, 2009 at 2:12 am

    Howw….Amazing…

    Well done, thanks.

  4. 2moons dil Says:
    August 17th, 2009 at 8:41 am

    Well, to soon to say if it’s good, but at least it’s well designed. I mean I thought I would be blocked after adding some interests, but the site helps you to add more. Cheers

  5. archlord gold Says:
    August 22nd, 2009 at 2:36 pm

    A wonderful article…. In my life, I have never seen a man be so selfless in helping others around him to get along and get working. I feel good that there are people like you too. Thanks for this great weblog of yours. Its surely going to get me to go to higher places!

  6. wow gold Says:
    August 31st, 2009 at 12:45 pm

    Wow, this is very useful.. Thanks for sharing this and hoping I could implement it too.

  7. gunjan sangoi Says:
    October 6th, 2009 at 2:08 pm

    Hey, !! Thanx…

    May be I am just another one to tell you Thanx!! It works,,,

  8. Saravanan Says:
    November 17th, 2009 at 7:18 pm

    Hi..
    Thanks a lot…
    It just worked for me….

    Thanks again.

  9. D Says:
    March 13th, 2010 at 5:20 pm

    Thanks - This worked great. Running Citrix Web Interface and after an update everything stopped working. Nobody could log into Citrix.
    Running the restore backup fixed it.
    Thanks - Notice the post time and you can see I’ve been at it for awhile

Leave a Reply

RSS

Sri Lanka .NET Forum

 

Twitter

Powered by Twitter Tools

Post Categories

My Web Stats