HTTP Error 500.19 with 0x8007000d on IIS7 “Malformed XML” in web.config

后端 未结 5 1059
萌比男神i
萌比男神i 2020-12-09 09:16

I\'m forced to rebuild my machine from factory default. Everything should be the same, IIS version (7.5), OS (Windows 7), and my website files. However, something is differe

相关标签:
5条回答
  • 2020-12-09 09:33

    i was in the same situation as you looking for XML. i found the solution. in web.config file ,at the top of the file, there is a xml section. delete the content below, this solve my issue, later on the site can be opened.

    <system.net>
    <defaultProxy>
      <proxy autoDetect="true" />
    </defaultProxy>
    

    0 讨论(0)
  • 2020-12-09 09:33

    just create new site collection and replace the new web.config to the corrupted one, work for me thought

    0 讨论(0)
  • 2020-12-09 09:38

    This problem also occurred with me... try this for Error Code 0x8007000d.

    <?xml version="1.0" encoding="UTF-8"?>
    

    Delete this line from your web.config file.

    This is a malformed XML element.

    Delete it or comment it.

    0 讨论(0)
  • 2020-12-09 09:47

    Did you remember to reinstall the rewrite module? It's not included with IIS 7.5 by default.

    Beyond that, here is a similar question - I think the part about malformed is a red herring.

    0 讨论(0)
  • 2020-12-09 09:51

    After so much pain i could resolve this error. The actual reason for me is i was using some url rewriting in config. After removing error has gone. The below is the code which i have removed from web.config.

      <serverRuntime frequentHitThreshold="1" frequentHitTimePeriod="10:00:00"/>
    <rewrite>
      <rules>
        <rule name="HTTP to HTTPS redirect" stopProcessing="true">
          <match url="(.*)"/>
          <conditions>
            <add input="{HTTPS}" pattern="off" ignoreCase="true"/>
          </conditions>
          <action type="Redirect" redirectType="Permanent" url="https://wikigurus.com/{R:1}"/>
        </rule>
      </rules>
    </rewrite>
    
    0 讨论(0)
提交回复
热议问题