I am getting HTTP Error 502.5 – Process Failure when deploying a .NET application.
The target framework is .NET 6 and I am using Plesk shared hosting from HostGator. I have other apps hosted on the same environment but they are targeting .NET CORE 3.1 and they are actually working.
I tried setting the deployment option as self contained, but still, I was getting the same error
.
i have set the hosting model as inprocess in the web.config file
here is my web config
<?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=".illy.exe" stdoutLogEnabled="false" stdoutLogFile=".logsstdout" hostingModel="inprocess" />
</system.webServer>
</location>
</configuration>
<!--ProjectGuid: d1d809f0-e9ea-4d97-bad2-b3b33c2bb8c8-->