ASP.NET Core WebApi - Internal Server Error 0x8007000d - HTTP Errror 500.19

-1

I can't handle with run WebApi on my web project deployed on Windows Server 2012 and IIS 8. I receive Internal Server Error 0x8007000d Error 500.19. I've installed .net Core and .net SDK and also URL Rewrite in IIS. Api works properly only when I run *.exe file manually.

I tried to add a single website on IIS and add the full path to publish folder and also "add application" in existing and working front-end part, but still got Error 500.19. To publish the application I used VS 2019.

Error 500.19

Another thing is when I want to add a new rule to URL Rewrite I got this error.

URL Rewirte

I suspect there is a problem with web.config file, but it looks as usual config for webapi.

<configuration>
<location path="." inheritInChildApplications="false">
  <system.webServer>
    <handlers>
      <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
    </handlers>
    <aspNetCore processPath="dotnet" arguments=".\Production.Plan.WebApi.dll" stdoutLogEnabled="true" stdoutLogFile=".\logs\stdout" hostingModel="inprocess" />
  </system.webServer>
</location>
</configuration>
<!--ProjectGuid: 20b95ef8-f53c-4eac-bf63-31f241cfe90d-->

I've read the whole Stackoverflow related to this issue, but I couldn't find the proper solution. Any ideas?

c#
asp.net-web-api
web-config
asked on Stack Overflow Mar 10, 2020 by Kamor04

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0