I’m getting this exception that I put bellow, while I tried to start my ASP.NET Core 8.0 Web API on my IIS site.
AgentStatus=Failed (Initializing), AD=Shared Domain1
Failed to initialize agent: Cannot marshal ‘parameter #1’:
Cannot marshal managed types when the runtime marshalling system is disabled.at Microsoft.AspNetCore.Builder.WebApplication.get_Environment()
at Program.$(String[] args) in Program.cs:line 16
Application Pool:
Web.config
:
.NET Core info: