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:

Charles COLOMBEL said...

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()


Denis Macchinetti said...

Thank you Charles

Denis

Travis Schwenneker said...

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

Denis Macchinetti said...

Hi Travis,

2013.

I have just fix the link note

Denis

Mehul Thacker said...

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

muratvezir said...

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.

Mehul Thacker said...

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()

Gabriele Solieri said...

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

Gabriele