Could not load file or assembly 'Azure.Identity, Version=1.10.3.0

I’ve seen this before and the key was to delete Azure.Identity in the program folder. It doesn’t appear to be working this time and I can’t find any other application that would be using the Azure.Identity.

Could not load file or assembly 'Azure.Identity, Version=1.10.3.0

Server: Version 5.9.7 build 25

Could you please elaborate on "It doesn’t appear to be working this time"? Were you able to delete Azure.Identity.dll? Have you rebooted the machine after deleting the DLL?

Yes, I was able to delete, reboot and reinstall EM server with no success.

Version 5.9.7 build 25 requires Azure.Identity version 1.11.4, so it looks like something unexpected is happening here.

Is EasyMorph Desktop, Command Line Worker, or CSViewer installed on the same machine?

Can you please check which DLL version is actually installed in the EasyMorph Server's folder (default: "C:\Program Files\EasyMorph Server")? To see the version, you have to do a right mouse click on the file, choose "Properties", and then switch to the "Details" tab.

Only EM Desktop is also installed.

Can you please try to uninstall the server and then install the same version again? Please back up the server's system folder and user files before uninstalling, and make sure that the server's binary folder (default: "C:\Program Files\EasyMorph Server") is empty after the uninstall.

Looks like that worked. Thank you!

You are welcome!

@andrew.rybka

This issue is back in the newest server version 5.9.7.30.

I’ve already uninstalled and rebooted and reinstalled with no success.

Have you checked that the server's binary folder (default: "C:\Program Files\EasyMorph Server") is empty after uninstallation?

@andrew.rybka Yes, it was removed after uninstall. Any other ideas? My entire companies automations are down.

Can you please run the attached
PowerShell script and send the output to support@easymorph.com? It will display all files in the Server's binary folder, along with some metadata. I will use the output to check if some of the installed files are corrupted or have a wrong version.

Get-EasyMorphServerFileReport.zip (653 Bytes)

1 Like

@andrew.rybka I sent the files. This is the error just FYI.

HRESULT: 0x80131040

Can we roll back to the prior version? I need to get the server up and running.

@nicktagz Please see a DM from me.

@nicktagz, thank you for the files. Everything looks correct. It looks like one of the assemblies is loaded from an incorrect location. So rolling back to the prior version might not help.

Can you please check if the following program exists on the EasyMorph Server's machine:

c:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\gacutil.exe

If it exists, please go to that folder and run:

gacutil.exe -l Azure.Identity

Will it give you any results?

Doesn’t exist.

Thank you guys. This was the solution.

“We added an explicit redirect to the installed assembly.”

2 Likes