Publishing Aspnet Core project to IIS


I have successfully generated a publish folder via following command;

dotnet publish -c Release -r win10-x64 --self-contained

enter image description here

Here is the generated exe file in publish folder. If I run the exe file, the website runs with no problem on localhost:5000.

However; when I try to put this website on iis, I have the following error;

HTTP Error 500.19 - Internal Server Error


Error Code     0x8007000d

enter image description here

Here is my web config file;

<?xml version="1.0" encoding="utf-8"?>
      <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified" />
    <aspNetCore processPath=".\AURORA.MvcWebUI.exe" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" />

<!--ProjectGuid: 1E855145-26EA-4E34-8527-9A44CCB14290-->

Could you help me please?

asked on Stack Overflow Oct 11, 2017 by Şahin Taşın • edited Feb 1, 2018 by Nkosi

0 Answers

Nobody has answered this question yet.

User contributions licensed under CC BY-SA 3.0