Getting an error while adding new process in to orchestrator

Hi Team,

I have added a new process in to orchestrator. While running the process, I am getting below error.

Could not find a part of the path 'C:\Users\RPA_PP_Srvacc\.nuget\packages\cop-maker\0.0.2\lib\net45\project.json'.

RemoteException wrapping System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\RPA_PP_Srvacc\.nuget\packages\cop-maker\0.0.2\lib\net45\project.json'.
at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamReader.ValidateArgsAndOpenPath(String path, Encoding encoding, Int32 bufferSize)
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks)
at System.IO.File.InternalReadAllText(String path, Encoding encoding)
at System.IO.File.ReadAllText(String path)
at UiPath.Service.Core.Utils.ExtensionMethods.<>c__DisplayClass2_0.b__0()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Security.Principal.WindowsIdentity.RunImpersonatedInternal(SafeAccessTokenHandle token, Action action)
at UiPath.Service.ImpersonableIdentity.Impersonate(Action action)
at UiPath.Service.Core.Utils.ExtensionMethods.OpenProjectAsUser(WorkflowProjectRepository projectRepository, String projectPath, ImpersonableIdentity identity)
at UiPath.Service.Core.Utils.ExtensionMethods.SetProject(JobModel jobModel, ImpersonableIdentity identity)
at UiPath.Service.Job.PrepareForExecution(ImpersonableIdentity identity, CancellationToken ct)
at UiPath.Service.Job.UiPath.Service.Core.IExecutorEvents.ExecutorAvailable(ImpersonableIdentity identity, CancellationToken ct)
at UiPath.Service.Core.ExecutorService.Available(AvailableMessage availableMessage)
at UiPath.CoreIpc.Server.<>c__DisplayClass7_3.<<-ctor>g__InvokeMethod|6>d.MoveNext()
--- End of stack trace from previous location ---
at UiPath.CoreIpc.Server.<>c__DisplayClass7_1.<<-ctor>g__HandleRequest|3>d.MoveNext()
--- End of stack trace from previous location ---
at UiPath.CoreIpc.Server.<>c__DisplayClass7_2.<<-ctor>b__5>d.MoveNext()
--- End of stack trace from previous location ---
at UiPath.CoreIpc.Helpers.Timeout[TResult](TimeSpan timeout, List`1 cancellationTokens, Func`2 func, String message, Func`2 exceptionHandler)

Somebody please help?

Regards,
Sreelakshmi

Hello @Sreelakshmi_Balachandran - As given in the error message the project.json file is missing in the Project.

Hello Rohit, But its there in the process
image

Hi Sreelakshmi,

Please remove the process from the Orchestrator and add it again. Then try…Hope it will work…

Regards
Suresh Ghadai

@Sreelakshmi_Balachandran - Did u verify the project.json file in the following path?C:\Users\RPA_PP_Srvacc.nuget\packages\cop-maker\0.0.2\lib\net45\

Also try creating a new package & uploading it to orchestrator.

Thanks for your reply Rohith, I am new to uipath, so I made a mistake like I have renamed the existing process and used as different process. May be that was the cause of issue. This time I have created new RE frame work process and copied required workflows in it and it is working now.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.