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

孤者浪人 提交于 2019-12-03 04:54:16
JohnW

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.

chindirala sampath kumar

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>
coco teng

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>

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.

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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!