*Note, I asked this earlier and it was closed because it was a supposed duplicate of this question asp.net core web api published in IIS after moved to different IIS server pc gives error 500.19 (0x8007000d)
However, that question and the one answer I received were about installing .NET Core Hosting Bundle which I don't believe applies since this is a 'SELF-CONTAINED' deploy. Am I missing something? So, again...
I have developed a Blazor WebAssembly App that will be used on a Server running Windows 2012 on our Intranet. This is targeting .Net 5.0 Core Hosted and Self-Contained. I need to deploy to IIS 8.5 and have some questions.
I have tried to set this up the best I can after searching for hours. I found posts with some related information but nothing showing how to set up IIS for the self-contained app or answer my other questions above.
Note that when I try to browse to the site from IIS, I get a 500.19 'The requested page cannot be accessed because the related configuration data for the page is invalid.' I have not made changes to the file as it was created by the publish process. It is:
<?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=".\AppName.Server.exe" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="inprocess" />
</system.webServer>
</location>
</configuration>
<!--ProjectGuid: 60862cf1-bea8-48f4-8ae9-270f2f537927-->
User contributions licensed under CC BY-SA 3.0