I have a blazor application (Framework .NET6) published on my hosted server. The application is configured as a website app called bis on IIS
The project is published with these options
Locally the app works, but when published on the server I'm getting the error
these are the runtimes on my server:
C:\Users\Administrator>dotnet --list-runtimes
Microsoft.AspNetCore.App 5.0.15 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 5.0.15 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 6.0.4 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Do I have to install any other component? Where can I have more information about?
UPDATE the error on event log is the following: Application '/LM/W3SVC/3/ROOT/bis' with physical root 'C:\inetpub\wwwroot\gesweb' failed to load coreclr. Exception message: CLR worker thread exited prematurely Process Id: 6460. File Version: 16.0.22081.4. Description: IIS ASP.NET Core Module V2 Request Handler. Commit: f9ae0f5d30be2de3c0de61b5673bd8873231d70a
Thanks in advance