In an Excel application scope, I wanted to create an xlsx file into a shared folder and write a datatable’s data into it. It works well running from UiPath Studio in DEV, but it fails on file creation with “System.Runtime.InteropServices.COMException (0x800A03EC): Microsoft Office Excel cannot open or save any more documents because there is not enough available memory or disk space.” error when I run it from Orchestrator in UAT.
I checked the accesses, the robot user has r/w access to that folder. (It doesn’t work, even when I change the folder’s path to “C:\Temp”) The process only uses Excel once, there’s no running Excel instance before it tries to execute the stage. GC Collect doesn’t help no matter where I put it. I’ve deleted everything from %Temp%. I’ve disabled protected views in Trust settings. I’ve reinstalled MS Office. I’m really running out of options here. Does anyone has other ideas on the resolution?
UiPath v2020.10, Excel 2016, Excel Pack 2.9.3 and 2.7.2, Windows Server 2012