Recently migrated to Modern Folders in my Orchestrator. Whenever I try to run an older automation I get the following error:
System.Exception: Error while copying content to a stream.
at UiPath.Core.Activities.BaseAssetActivity.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)
I have updated the activities etc to newer versions. Any ideas? Thanks!
Go to your project folder and check screenshots if it stores many screenshots it will not allow you to publish the project to orchestrator due to high amount of data.
Delete all the screenshots and unwanted data and publish again