"Duplicate assembly error with OFFICE.dll causes UiPath Robot to hang when using Excel activities in version 24.10.12"

Hello,
2
3I'm experiencing a critical issue where the UiPath Robot hangs and freezes all desktop applications (including SAP GUI, Excel, etc.) when running a workflow that uses Excel activities.
4
5The error appears in the Windows Event Log as:
UiPath.Executor 24.10.12.0
Duplicate assembly: E:\uipath\packages\uipath.officelibs\1.0.0\lib\net6.0-windows7.0/OFFICE.dll
Duplicate assembly: .../Microsoft.Office.Interop.Excel.dll


This happens consistently in **UiPath Studio 24.10.12** and **Robot 24.10.12**, even though I'm not directly using Excel in my Python script — only via UiPath's Excel.Activities package.

After upgrading to **24.10.13**, the issue seems to be resolved, but I want to confirm if this is a known bug and whether it has been officially fixed.

Could you please confirm:
1. Is this a known issue in 24.10.12?
2. Has it been fixed in 24.10.13 or later versions?

Thank you!

HI @DI.YANG
Welcome to the Community

Hope it helps

Thanks & Happy Automations

Thank you for the clarification.
However, in UiPath Studio/Robot v24.10.12, this “Duplicate assembly” error does cause the robot to hang completely, freezing SAP GUI, Excel, and all desktop applications — even though the process shows errorId=0.

After upgrading to v24.10.13, the same workflow runs successfully (only the log remains).

Could this indicate a regression or hidden bug in v24.10.12 that was fixed in later patches?

@DI.YANG

Check your dependencies and see which two dependencies have same packages and try to change the versions or match them

Mostly mail and excel packages are conflicting

Cheers

1 Like


hi Anil_G
My dependency versions are as shown in the image above. Could they cause all desktop applications to become unresponsive during runtime?
THANKS!

@DI.YANG

Try with latest 3.x excel version with latest mail versions

Cheers

Hi @DI.YANG

Yes, this is a known issue in UiPath 24.10.12 related to Excel/Office assemblies being loaded twice, which can cause the Robot to hang and freeze other desktop apps.

The issue has been fixed in 24.10.13, and upgrading resolves the problem.