How to fix "Failed to load dll from" error?

Anonymous
2024-05-17T06:30:20+00:00

Hi Microsoft Community,

I'm trying to install (but the loading bar is drawing back/not proceeding) an application in my Windows Server 2008 R2 SP1 but I encounter an error in event viewer.

Its says that:

Description: A .NET Core application failed.

Application: RVAgent.exe

Path C:\Program Files (x86)\Alert Logic\bin\RVAgent.exe

Message: Failed to load the dll from [path..\hostfxr.dll],

HRESULT: 0x80070057

The library hostfxr.dll was found, but loading it from C:\Program files..\hostfxr.dll failed

Workaround - already installed the .Net Core with different versions but still encountered the same error.

Regards,

Joshua

Windows for business Windows Server Performance Application technologies and compatibility

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes
Accepted answer
  1. Anonymous
    2024-05-17T09:31:37+00:00

    Hello

    Thank you for posting in Microsoft Community forum.

    The error code HRESULT: 0x80070057 often indicates an issue with storage, such as a problem with the file system or a lack of space on the drive. It can also mean that an assembly couldn't be loaded because it is corrupt or not available. To resolve this, you might need to clear the bin folder of your project and the AppData (Temp) folder, or install the necessary .NET Core runtime or hosting bundle on your machine.

    For the specific issue with hostfxr.dll, it seems that the library was found but could not be loaded. This could be due to a missing .NET Core runtime or an incompatible version. Installing the correct version of .NET Core or the .NET prerequisites might help resolve this problem.

    Additionally, if RVAgent.exe is not a pre-approved application within your organization, it might be blocked or restricted, which could also cause issues during installation. You should check if the application is allowed by your company's software policy or if it requires a business justification for use.

    Best Regards,

    Wesley Li

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful