Blazor on IIS: HTTP Error 500.19 - Internal Server Error Error Code: 0x8007000d?

-1

I created a Blazor application and it runs in IIS Express in Visual Studio.

Then I created a website on the Windows IIS and publish the files to the IIS folder. However, the browser shows:

HostInIIS

The following is the generated Web.Config

<?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=".\BlazorApp1.exe" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="inprocess" />
    </system.webServer>
  </location>
</configuration>
<!--ProjectGuid: e03d13a0-86b1-4f57-adee-8d1aeda34ab8-->

I read other questions and have installed UrlRewrite2.1 on my PC.

Update:

After install dotnet-hosting-3.0.1-win.exe, now it gets 500 error.

500

asp.net
asp.net-core
iis
blazor
asked on Stack Overflow Nov 29, 2019 by ca9163d9 • edited Nov 29, 2019 by ca9163d9

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0