Friday, April 26, 2019

Unable to load DLL 'IfxEvents.dll' - Dynamics 365 for Finance & Operations LBD

Hi LBD enthusiasts,

I'm going to share an issue faced during the 10.0.1 PU25 version installation on F&O LBD.

Error message

System.DllNotFoundException: Unable to load DLL 'IfxEvents.dll': The specified module could not be found
System.TypeInitializationException: The type initializer for 'Microsoft.Dynamics.Performance.Logger.IfxLogger' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'IfxEvents.dll': The specified module could not be found

Reason

Microsoft Visual C++ 2013 Redistributable Package missing on the AOSs and Orchs Machine.

Resolution

Download Microsoft Visual C++ 2013 Redistributable Package and install it on Orch and AOS machines

Rerun the Installation.

Till soon!

8 comments:

  1. Dont forget to restart orchestrator and AOS servers after installing Redistribuable package
    otherwise you will have a "System.UnauthorizedAccessException"

    ExtractToSharedFolder failed for assetID: 4db0ed4b-b069-4bf4-a904-dd61c3926738 at location System.UnauthorizedAccessException Access to the path 'IfxEvents.dll' is denied. at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data) at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost) at ArtifactsManager.ArtifactsFileExtractManager.d__6.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at ArtifactsManager.ArtifactsFileExtractManager.<>c__DisplayClass5_0.<b__0>d.MoveNext()


    ReplyDelete
  2. Travis SchwennekerMay 2, 2019 at 4:03 AM

    Visual C++ Redistributable 2005 or 2013? The link is for 2013.

    ReplyDelete
  3. Hi Travis,

    2013.

    I have just fix the link note

    Denis

    ReplyDelete
  4. Thanks Denis for sharing this.

    We are updating 10.0.0.4 PU28 facing same error.
    This is not mentioned anywhere else - not documented in MS web site!

    Thanks,
    Mehul

    ReplyDelete
  5. Thank you very much. I was dealing this thing for more than 6 hours.
    I think they need to add this blog post on the troubleshoot document.

    Thanks.

    ReplyDelete
  6. We were able to update environment to PU28.
    After this update, we tried to deploy customization using deployable packages, we are facing
    error mentioned below every time.
    To resolve this error for now, we are restarting all AOS & ORCH servers and we are able to deploy custom package.

    This is very annoying, any suggestions?

    ExtractToSharedFolder failed for assetID: 4db0ed4b-b069-4bf4-a904-dd61c3926738 at location System.UnauthorizedAccessException Access to the path 'IfxEvents.dll' is denied. at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data) at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost) at ArtifactsManager.ArtifactsFileExtractManager.d__6.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at ArtifactsManager.ArtifactsFileExtractManager.<>c__DisplayClass5_0.d.MoveNext()

    ReplyDelete
  7. hi,
    Microsoft just update prerequisite for AOS and Orch roles.

    Gabriele

    ReplyDelete