COM exception 0x800700B7
Symptoms
When you scan a Microsoft IIS server the scan fails with the error "Could not obtain the IIS 7 Configuration Section 'sectionname'". On viewing the full exception, the COMException code returned from IIS is 0x800700B7 - "Cannot create a file when that file already exists".
Cause
This can be caused by sections within the Web.config file that are duplicates of those in a parent web application or web site.
Resolution
- Modify the Web.config file and remove any duplicate sections from the <ConfigSections> section.
Workaround
- Within the XIA Configuration Client, modify the IIS agent settings and enable the "Web.Config" setting on the tolerance tab.