When i tried to open IIS on WS 2008, I'm greeted by a prompt "There was an error when trying to connect, do you want to retry your credentials?......filename C:\windows\system32\inetsrv\config\applicationhost.config Configuration is not well formed" (when i expand the site node.)
Reading around eventually led me to uninstall and reinstall however when prompted to reboot i do so but at startup its not uninstalled IIS and therefore i try again but same issue occurs.
The event log states
IISWMSVC_LOGIN_UNKNOWN_ERROR
An unexpected error occurred while retrieving the login information.
Exception:System.Runtime.InteropServices.COMException (0x8007000D): Filename: \\?\C:\Windows\system32\inetsrv\config\applicationHost.config
Error: Configuration file is not well-formed XML
at Microsoft.Web.Administration.Interop.AppHostAdminManager.GetAdminSection(String bstrSectionName, String bstrSectionPath)
at Microsoft.Web.Administration.Configuration.GetSectionInternal(ConfigurationSection section, String sectionPath, String locationPath)
at Microsoft.Web.Administration.ServerManager.get_SitesSection()
at Microsoft.Web.Administration.ServerManager.get_Sites()
at Microsoft.Web.Management.Server.ManagementUnit.RetriveUrl(WebManagementInfo info, Boolean isLocal)
at Microsoft.Web.Management.Server.ManagementUnit.GenerateManagementInfo(Boolean retrieveModules, Boolean retrieveUrl)
at Microsoft.Web.Management.Server.FrameworkModuleService.GetWebManagementInfo(Boolean retrieveModules, Boolean retrieveUrl)
Process:InetMgr
User=Domain\administrator
I then try and uinstall each component one at a time (BITS and all related components) however the same problem with IIS exists. Coudl anyone help and advise what to do next in order to resolve?
Thanks