The Realm of the Verbal Processor

Jarvis's Ramblings

Applicationhost.config – not well formed XML Problems

On Friday I was troubleshooting an issue on our SCCM server related to updating a package on a Distribution Point. It kept failing with errors like the following:

2302    “SMS Distribution Manager failed to process package “”Random App”” (package ID = ABC00003).”    Possible cause: …
2342    “SMS Distribution Manager is starting to distribute package “”Random App”” to distribution point “”[“”Display=\\SCCMServer\””]MSWNET:[“”SMS_SITE=ABC””]\\SCCMServer\””.”
2300    “SMS Distribution Manager is beginning to process package “”Random App”” (package ID = ABC00003).”
30125    “User “”domain\user”” added new distribution points to a package named “”Random”” (ABC00003).”

After digging around for a while I came to discover that the IIS services had failed to start. When I tried to start the IIS service, I got the lovely message that applicationhost.config is not well-formed XML. Now…that file on my server is over 1000 lines long. I don’t know if it is well formed or not. So…I hit Google and came across a page talking about an issue where that file will get corrupted if you are using either OneCare or Forefront Client Security as your anti-virus software. I’m using FCS on my server.

The workaround listed on that page is:

  • Create the following key “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MpFilter\Parameters” .
  • Add a DWORD value “ScanOnCleanup” and set it to 0.
  • Restart OneCare/Forefront service.
  • I did the above workaround, but what about the corrupted applicationhost.config? I took a gamble…perhaps the file is corrupted, but the text is intact. I simply opened the applicationhost.config file in EditPlus, saved it as a new file, and copied the new file to the proper location.

    IIS Started. SCCM distributed the package. I went home happy.

    Advertisements

    June 2, 2008 - Posted by | ConfigMgr | ,

    3 Comments »

    1. […] https://verbalprocessor.com/2008/06/02/applicationhostconfig-not-well-formed-xml-problems/ Published Monday, June 02, 2008 2:00 PM by rodtrent Filed under: Systems Management, System Center, ConfigMgr 2007, Forefront […]

      Pingback by Jarvis fixes a problem with ConfigMgr 2007 and Forefront Security - Rod Trent at myITforum.com | June 2, 2008

    2. Thank you for your lucky, It help me to resolve the bad issue.

      Comment by Ken | June 9, 2009

    3. Hi Jarvis,

      I used the above given solution of yours as I faced a similar problem and it did wonders. Thanks a lot for posting such meaningful and prcise posts.

      Thanks,
      Suman

      Comment by Suman | September 16, 2009


    Leave a Reply

    Fill in your details below or click an icon to log in:

    WordPress.com Logo

    You are commenting using your WordPress.com account. Log Out / Change )

    Twitter picture

    You are commenting using your Twitter account. Log Out / Change )

    Facebook photo

    You are commenting using your Facebook account. Log Out / Change )

    Google+ photo

    You are commenting using your Google+ account. Log Out / Change )

    Connecting to %s