• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question ANCM In-Process Handler Load Failure on asp.net core 2.2 app

bahadori

New Pleskian
i have installed .net core 2.2.5 runtime on my server, and create a empty .net core project, after upload get the following error:

HTTP Error 500.0 - ANCM In-Process Handler Load Failure
Common causes of this issue:
  • The specified version of Microsoft.NetCore.App or Microsoft.AspNetCore.App was not found.
  • The in process request handler, Microsoft.AspNetCore.Server.IIS, was not referenced in the application.
  • ANCM could not find dotnet.
Troubleshooting steps:
  • Check the system event log for error messages
  • Enable logging the application process' stdout messages
  • Attach a debugger to the application process and inspect
For more information visit: https://go.microsoft.com/fwlink/?LinkID=2028526


how to config plesk server for run .net core app?
 
Starting from ASP.NET Core version 2.2 there are two options on how .NET Core is hosted: either inside IIS pool process, or in separate process (before .NET Core 2.2 there was only option to host in separate process).
Unfortunately, Plesk configures IIS application pools to work in 32-bit mode, and new option to host .NET Core applications inside IIS pool process is not working properly.
You can workaround this by switching IIS pool in 64-bit mode. You cannot do this in Plesk, only manually in IIS ( How to know what mode (32 or 64-bit) the application pool is running? in this KB article you can read how to find this option in IIS).

Other workaround is to configure your ASP.NET Core application to host outside of IIS in separate process. This can be done in web.config for your site or maybe in your development environment.
 
Starting from ASP.NET Core version 2.2 there are two options on how .NET Core is hosted: either inside IIS pool process, or in separate process (before .NET Core 2.2 there was only option to host in separate process).
Unfortunately, Plesk configures IIS application pools to work in 32-bit mode, and new option to host .NET Core applications inside IIS pool process is not working properly.
You can workaround this by switching IIS pool in 64-bit mode. You cannot do this in Plesk, only manually in IIS ( How to know what mode (32 or 64-bit) the application pool is running? in this KB article you can read how to find this option in IIS).

Other workaround is to configure your ASP.NET Core application to host outside of IIS in separate process. This can be done in web.config for your site or maybe in your development environment.

when i set enable 32 bit application to false, website working without error, how can i set this option as default for all old and new websites?
 
Back
Top