Deploy project to IIS



I have a situation where i’m stuck, when i try to publish the Blazor Sample on IIS, always i have the problem the cannot found the LL Views.

Can anyone help me with this situation?

Best regarts,
Tiago Martins.

Hello Tiago,
welcome to the List & Label Forum. Due to the error message we assume a problem with the web.config. Either this is missing or there are missing entries. You can also find hints in the following stack overflow thread:

We assume that at least the following entries in the web.config are missing here (the handler section is important here):

<location path="." inheritInChildApplications="false">
        <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
      <aspNetCore processPath="dotnet" arguments=".\MyBlazor.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="inprocess" />

Please check the entries in the web.config accordingly.

Best regarts,

1 Like