Web.config dotnet core

-1

I have created one web api in dotnet core. While hosting in IIS, I am getting following error HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid. and error code which is showing is 0x8007000d. I have searched this error code and found that, it is related to malformed xml in web.config. I have checked xml file, couldn't find any issue. Here is my web.config file

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <location path="." inheritInChildApplications="false">
    <system.webServer>
      <handlers>
        <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
      </handlers>
      <aspNetCore processPath=".\ProcessManager.exe" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="inprocess" />
    </system.webServer>
  </location>
</configuration>

Thanks.

iis
.net-core
web-config
publish
asked on Stack Overflow Sep 21, 2020 by anand shukla

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0