I have Bot deployed to carry checklist process and it was working fine for months. But in last few weeks the checklist excel sheet and the config sheet is getting corrupted. I fixed by replacing a new sheet but again the same error occurred and sheets were corrupted.
Is this due to lack of UiPath.Excel.Activities package update. As the process had version 2.4 and latest one is 2.5.2.
There is no comments or filtering in the excel. But as it is checklist excel, Column get added on daily basis.
Lately often, The process fails often throwing the below exception in Read range activity and checklist file get corrupted.
System.InvalidOperationException: Specified part does not exist in the package. at UiPath.Executor.WorkflowRunner.EndExecute(IAsyncResult result) at UiPath.Core.Activities.InvokeWorkflowFile.EndExecute(AsyncCodeActivityContext context, IAsyncResult result) at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result) at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
When I use new checklist file process works fine but after few days the same error occur.
May be the Write range activity used in the end of the process is corrupting the excel file. So the Read range activity fails in the next run. Is there solution to it or some thing I could avoid in the excel file to overcome this issue.
Note: The process was working fine for months till the latest version(9.3.0) update.
If excel is installed in ur bot machine then use Excel scope activities instead of workbook. if not make sure the excel has no comments, hide or filters applied in the excel.
And have regular practice of replacing new excel if the sheet is overloaded with data.
Hi,
Potential solution is to save the workbook with “Save Workbook” activity. This may fix the corrupted data. Unfortunately the activity will work only if you have installed excel on the machine.
Please let me know, if there is another way, without using Application Scope.
hello @remm
I have facing same error when file have corrupted and error have got “Write Range: Specified part does not exist in the package.” please give me some ideas so how to resolve it