CA Configuration Automation

 View Only
Expand all | Collapse all

OOTB BP Microsoft IIS 7.0 & 7.5 not retrieving webconfig info

  • 1.  OOTB BP Microsoft IIS 7.0 & 7.5 not retrieving webconfig info

    Posted Feb 12, 2020 07:46 AM

     We are trying to discover webconfig file using OOTB BP Microsoft IIS 7.0 & 7.5 with Compliance Rules, failing in some servers. After many tests, we discovered that the information is recovered correctly but the XML parsing in CCA (structured class: MS_II7 werbconfig v1.0) is failing and no information is finally retrieved in CCA console.

    We detected that the problem is the existence of written accent (ú,ó,...) within an XML element as in the next line :

    <add key="CAMPO_TEMA_ASESORAMIENTO_NUMINSPECCION" value="NÚMERO INSPECCIÓN"/>

    Then we tried to modify the vbs script that retrieve the webconfig information in order to replace Á, É, Í, Ó, Ú.... with A, E, I, O, U. It did not work because the visual basic script retrieved this line with the special characters Ãs, Ã"; so, any Á, É, Í, Ó, Ú were found to be replaced  :

    <add key="CAMPO_TEMA_ASESORAMIENTO_NUMINSPECCION" value="NÃsMERO INSPECCIÃ"N"/>

    Could you help, please?

    Thanks in advance. Regards



  • 2.  RE: OOTB BP Microsoft IIS 7.0 & 7.5 not retrieving webconfig info

    Posted Feb 12, 2020 08:40 AM
    I think that maybe it is an encoding problem as the webconfig file cannot be read properly, any help how can we modify the vbs script or any other solution?