Let us know if you encounter this issue and it cannot be solved by the above mentioned suggestions.
We would love to know your particular scenario to be able to better address this general issue.
I am facing this error when using Background Process Template and creating Excel file. I have been using State Machine for the same process and it was working fine. I have recently converted my Project to run in Background using background Process Template and it throws this error.
I have checked, it is the first excel application scope of the project and Excel is not running in the background as well while I run the project.
For your information, i am running this automation on an unattended BOT when this error is occured, however when i run it from studio, it works well.
Could you please suggest possible solutions to this ?
We had a number of these Excel error codes after an enterprise update from 18.4.3 → 19.10.4. The issue turned out to be with reaching the add-in that came with UiPath Studio X. Add-ins were disabled by our organisation (same way as macros may be disabled), but since there is no option to enable add-ins on excel application scope, this caused an issue. We removed the add-in and everything was back to normal. It is ambigious how Studio X activities, the add-in, activities from the UiPath Team’s Excel Extension Package and the standard UiPath Excel packages are linked. I am not sure why the Studio X add-in affects the Excel Application Scope, I presume it supposed to enhance integration with Excel.
We had another issue that we have previously identified with a simlar code (before the update). It was due to a macro being run by the run macro activity. If we ran the macro manually it worked, if we ran the macro with the run macro acitity we ran out of RAM after a while. Adding Application.ScreenUpdating = False and Application.xlCalculation = Manual solved the issue.
I have recently also faced this issue. Could you help me with it please?
To share, my company is currently using v2018.4 Standalone UiPath Studio trial licenses. We had been running this robot which interacts with excel to get some data. It had always been running fine w/o issue. Excel was on Microsoft 365.
However, we recently exported this package to run it on a new machine with Excel 2016. It worked perfectly fine too. The issue came in when Excel was upgraded from 2016 to Microsoft 365. Here onwards, we had begun to intermittently , get error code 0x800A03EC at Excel Application Scope activity.
We are in the progress of trying out the solution you provided such as adding the delay. Was curious, besides the workaround you mentioned above, are there any other workarounds which we can try?
I am getting error: Create Pivot Table: Exception from HRESULT: 0x800A03EC
I am using two Use Excel activities from StudioX to create Pivot Table. First one runs fine on the second one I get the above error. I have tried writing it to the same sheet as well as different sheet of the same excel file.
I have used closed workbook and delay work around without success.
When I kill excel before the second Use Excel activity I get a little different error:
" RPC Server not available".
I am using Community Edition Studio Version: 2021 2.0 beta44.
I am using Excel Version 2102 (Build 13801.20294).
I am using studioX activity Create Pivot Table. I have used this activity twice. I get this error on the second one, first one runs fine and it creates the pivot table.
Per @loginerror the first thing to try is open package manager and verify which version of the UiPath.Excel.Activities the project is using, then if you are not using the latest -preview version, please try upgrading to the latest preview version and see it the issue still reproduces.
I have many write range activities with in one Excel Application scope but I am getting this error at last activity.
As suggested, I have tried adding delay of 5 sec between each write range activity but didnt work.
My Excel Activity Package version is 2.10.4.
PS: 1. If I create last write range activity separately from original Excel Application Scope. It is working with this workaround.
2. This workflow was working fine until yesterday.
I have just seen this error happened to me and realized that the issue was the “Protect Sheet” that I enabled before. I just changed the cell protection to “Unlocked” (just un-check the Locked option) for the data range I was copying and save the Excel file and re-run the bot and issue was fixed.
I’d been having this issue and discovered that it was due to trying to append no rows. Putting an If dtName.countRows = 0 before hand resolved this for me.
Hi, let me add to this topic as I’ve faced the same issue and resolved it.
In my case this was encountered while saving a file that exceeded the standard limit of 256 for local file system maximum path limit.
There’s a simple solution of adding the prefix "\\?\" to the path you’re using. See the docs. However do keep in mind that creating these files and folders is subject to the same limitations. In case anyone else faces the same issues - please start by shortening what you can first before turning to editing the registry.
There seems to be no general solution and the error code itself is poorly documented.
All of the previous solutions may be valid. When encountering this error consider reproducing manually the same operations you’re trying to perform automatically.