Bot stopped in middle of process

Hello all
when I am running this process, it runs fine but when I scheduled the process in orchestrator. In middle of process it stop with this error.

Failed opening the Excel file C:\Users\ZBS.nuget\packages\zbs.ticket.creation\1.0.12\content\Excel\Ticket.xlsx. Possible reasons: the file is corrupt, the file is already used by another process, you don’t have permissions to open the file or the file has incorrect sensitivity label.

@Mozammil,

If the bot is the only user of the excel file add kill process activity to kill excel before you use the excel file.

This will ensure that the excel file won’t be locked.

@ashokkarale actually, there is no excel file in that folder I have enable checkbox “Create if not exist”.
also there is no user exept bot.
and when I run the process with UiPath studio. it is running fine without any error.

@Mozammil,

Ok there could be write access issue to the .Nuget package path.

Can you change the file path to somewhere in Documents or any other folder than the current path?

its running with UiPath studio but in orchestrator its is showing the error below: @ashokkarale

Pipe is broken.

System.IO.IOException: Pipe is broken. at System.IO.Pipes.PipeStream.CheckWriteOperations()
at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
at System.IO.StreamWriter.Dispose(Boolean disposing)
at System.IO.TextWriter.Dispose()
at UiPath.Python.Service.PythonProxy.RequestAsync(PythonRequest request, CancellationToken ct)
at UiPath.Python.Service.PythonProxy.Shutdown()
at UiPath.Python.Impl.OutOfProcessEngine.Release()
at UiPath.Python.Activities.PythonScope.Cleanup()
at UiPath.Python.Activities.PythonScope.OnFaulted(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.FaultWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

@Mozammil,

It is different error than the initial one. Is the initial worked or not facing anymore?

@ashokkarale that issue is still there.

Can you assist me on that. if you are ready