I am encountering a weird scenario from a production bot process. I get the following Exception from the process:
System.Runtime.InteropServices.COMException (0x800A16A0): The file appears to be corrupted.
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)
This has been sporadic - it worked perfectly at first, and then random with the message above. Now it seems they all fail with the message above.
This process uses both Word and Excel documents, and it appears that the process is failing on an append range to an excel document. I can take all of the same files from production and run them locally on my machine with no problem or issues.
Has anyone seen this before and do you have any suggestions to resolve? Thanks.