Blazor WebAssembly on IIS 8 - 0x8007000d


I am following this guide in order to host my Blazor WebAssembly project:

I have installed the URL Rewrite module 2.1 but I still receive this error:

HTTP Error 500.19 - Internal Server Error
Error Code: 0x8007000d
Config File \\?\C:\MyProject\web.config 

I am pointing the Physical path to one step above wwwroot, i.e the root folder of my project after publish.

My web.config in root folder looks like this:

<?xml version="1.0" encoding="utf-8"?>
  <location path="." inheritInChildApplications="false">
        <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
      <aspNetCore processPath="dotnet" arguments=".\MyProject.Server.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="inprocess" />

What am I missing? I have .NET Core 3.1.202 installed. My project is built upon the default template. Meaning an ASP.NET Core hosted Server part and WebAssembly-powered Client part. I am using port 81 for the IIS site.

Appreciate any guidance
asked on Stack Overflow May 13, 2020 by ArturM

2 Answers


On IIS 10 I had to install additional module - URL Rewrite:

answered on Stack Overflow Feb 16, 2021 by pawellipowczan

User contributions licensed under CC BY-SA 3.0