In Studio, the bot is working fine, but when I try to run it from Orchestrator, it's throwing an error

Please find the attached screenshot showing a version conflict error I’m facing. Could you please guide me on how to resolve this issue?
error.txt (2.2 KB)

@manipreethi410,

There is package version conflict.

This package Microsoft.Graph.Core 1.9.0 is expecting Newtonsoft.Json version (>= 6.0.1 && < 12.0.0) but your code have Newtonsoft.Json 13.0.1

Downgrade Newtonsoft.Json to version 12.0.0 or below and then publish it again and then try to run it.

Thanks,
Ashok :slightly_smiling_face:

Hi @manipreethi410

Check this

Regards,

Now am getting below error:
UiPath.Service.Core.ProjectInstaller.InstallCore(InstallProjectCommand installCommand)
at UiPath.Service.Core.NetWindowsProjectInstaller.InstallAndProtect(InstallProjectCommand installCommand)
at UiPath.Service.Core.NetWindowsProjectInstaller.InstallCore(InstallProjectCommand installCommand)
at UiPath.Service.Core.ProjectInstaller.<>c__DisplayClass9_0.<b__0>d.MoveNext()
— End of stack trace from previous location —
at UiPath.Service.Core.ProjectInstaller.Install(InstallProjectCommand installCommand)
at UiPath.Service.Core.PackageService.InstallProcess(PublishedProcess process, ImpersonableIdentity identity, IRobot robot, CancellationToken ct)
at UiPath.Service.Job.InstallPackage(ImpersonableIdentity identity, CancellationToken ct)
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.Impl.ExecutorProxy.OnExecutorAvailableAsync(Object sender, AvailableEventArgs args)
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, List1 cancellationTokens, Func2 func, String message, Func`2 exceptionHandler)

@manipreethi410,

Try upgrading all the packages to latest possible version.

Thanks,
Ashok :slightly_smiling_face:

@manipreethi410

Here’s a basic workflow for publishing and installing a package correctly:

  1. Publish from UiPath Studio:
    Use the Publish button in UiPath Studio.
    Choose your Orchestrator or local directory(your local path).
  2. Install via Orchestrator (if applicable):
    Go to -->Manage Packages in the Orchestrator.
    Check that the published package is visible and the version is as expected.
    Ensure the robot is assigned to the correct process.

thanks

Hello Naveen

Can you please try the following.

  1. Verify that “Separate runtime dependencies” is unchecked under “Project Settings”.
  2. Compare the following file from your development machine to the one on the running machine:

C:\Program Files\UiPath\Studio\NuGet.config

  1. If the file varies, then take a backup of the one on your running machine, and replace it with the one from your development machine.

Regards,
Soren

Hi @manipreethi410

Can you try by updating all the dependencies to the highest version by making runtime rule as lowest applicable version

Hope it helps!!

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