Licensed machine wants a license

Hi,

I have a situation like this…

The UiRobot.exe wants a license activated but when I look in studio there is an active license.

As a bit of back story, this machine was once a non-domain work station and I joined to the domain and then uninstalled and reinstalled UiPath

I saw another post that mentioned to check the package versions…

The highlighted were not up to date so I updated them
image

I removed the license folders here…

image

To get a new license

And that has not resolved the issue which I can also see if I run the command line

This issue is somehow related to this it seems…

image

If that is running, I get a license error whenever I try to run a bot

Hi Austin,

Just to be sure:

  • you only have UiPathStudioSetup.exe installed on your machine? if you go to Windows Services, you shouldn’t see the UiRobot service there
  • based on the first screenshot: did you activate Studio first before running the process?
  • where are you running your process from: Studio or Robot tray?

Alright, if I try to launch a bot from command line and I use a task in task scheduler to do it, that task for some reason activates the UiPath.Service.UserHost process which in turn throws the following error seen in the windows event logs…

UiRobot 19.6.0.0
System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: To execute processes, please activate a license. (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.Exception: To execute processes, please activate a license.
at UiPath.Service.Licenses.LicenseManager.d__6.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Service.Impl.ExecutionManager.d__28.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at UiPath.Service.Impl.ExecutionManager.d__11.MoveNext()
— End of stack trace from previous l…)., HResult -2146233087

If that noted process is running I get license reactivation errors no matter how I run a bot but if it is not running then I can run a bot through command line or studio.

  1. I believe that is accurate and there is no UiRobot service installed on the machine as far as windows services go.

  2. No. After I did the domain join I tried to run a process and it failed spectacularly so I uninstalled the product via control panel’s add/remove programs and then cleared out these file paths %userprofile%\AppData\Local\UiPath
    %userprofile%.nuget\packages

I then reinstalled the product, launched a process from studio
image
And the process ran fine.

  1. I have been experimenting with running it from Studio, from the Tray and even calling UiRobot.exe from the command line directly and those three methods all work if and only if UiPath.Service.UserHost is not running.

The steps would be:

  • uninstall and remove UiPath folder from %localappdata%
  • install UiPathStudioSetup.exe
  • open Studio and Activate Free
  • open UiRobot.exe (from %localappdata%\UiPath)
  • open a process in Studio and run it
  • publish it (locally) and run it from Robot Tray

All these should work locally on the machine if after installing you activate Studio first (so the Robot would also get the free license). Now, based on your answers and our tests, when you run the process and you get that error (UiPath.Service.UserHost is not running) are you connected to Orchestrator?

1 Like

This machine has not been connected to orchestrator to my knowledge. If it has been, it was done entirely without me. Is there a way I can readily check that?

And correction when I get the error UiPath.Service.UserHost IS running.

Question, what does this “UiPath.Service.UserHost” do ?