I'm struggling with uninstalling IIS from Windows Server 2008. I went into Server Manager > Roles > Remove Roles > unchecked IIS > that prompted me to also remove dependencies. Every time the "Resume Configuration Wizard" continues after a restart, I keep getting another dialog to restart. After 3 tries, it says it failed to uninstall. Note, the 3 try failure screen shot was from previous attempts to uninstall WAS (Windows Process Activation Service). And a dependency for WAS is IIS. However, I get the 3 try failure with this set as well. What am I doing wrong?
Answer: Restore the entire server from backup.
Lesson Learned: Before a web server deployment, copy the contents out of folder
C:\Windows\system32\inetsrv\config\
before ever changing IIS 7 configuration or making Web.Config changes.Original issue: https://stackoverflow.com/questions/17792419/configuration-file-is-not-well-formed-xml-2/17800935#17800935
Caused by changes from this work: https://stackoverflow.com/questions/17779128/asp-net-generic-handler-not-getting-called-after-net-3-5-to-net-4-0-upgrade/17800921#17800921