Blog on software engineering
NET 5.0 – Windows Server 2008 R2 Standard – Unable to load ‘D:\Websites\VBV\.\hostfxr.dll’. This might be caused by a bitness mismatch between IIS application pool and published application.

NET 5.0 – Windows Server 2008 R2 Standard – Unable to load ‘D:\Websites\VBV\.\hostfxr.dll’. This might be caused by a bitness mismatch between IIS application pool and published application.

 

Solution

By default the application was created with “Enable 32-Bit Applications” set to true.

After changing this to “false”, the error was resolved.

 

 

Error

Failed to start application ‘/LM/W3SVC/3/ROOT’, ErrorCode ‘0x800700c1’.

Could not find ‘aspnetcorev2_inprocess.dll’. Exception message:

Unable to load ‘D:\Websites\VBV.\hostfxr.dll’. This might be caused by a bitness mismatch between IIS application pool and published application.

 

 


 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.