Bitness Mismatch Between IIS Application Pool And Published Application

How to solve error message of Bitness mismatch between IIS application pool and published application?

Orchestrator Event Viewer error

Unable to load C:Program Files (x86)UiPathOrchestrator.hostfxr.dll.

This might be caused by a bitness mismatch between IIS application pool and published application.



Resolution

  • Go to Application Pools - Advanced Settings - Enable 32-bit application. If it it set to True, set it to False

Reason

By default, the IIS application pool runs on 64-bit mode. To run certain old versions of applications, you might have enabled the 32-bit mode.

To enable IIS to run applications in the 64-bit mode:

  1. Go to Websites & Domains > Dedicated IIS Application Pool for Website.
  2. Right click on the App Pool and Advanced Settings -->Select the “Enable 32-bit applications” and set it to False

If applications that are known to have memory leaks or become unstable after working for a long time are run, it is recommended to restart them from time to time.

Note: Validate all the sites in Application Pools.