Could not connect to UiPath Robot Service when run (F5) .xaml


#1

Scenario: When run the exercise on trial version, get “System.Exception: Could not connect to UiPath Robot Service.”

Steps to reproduce: Open UI Path existing exercise of file extension .xaml and click Run or press F5.

Current Behavior: The ‘UI Robot *32.exe’’ is already running viewed in Windows Task Manager.

Expected Behavior: 15:03:41:641 => [ERROR] [UiPath.Workflow.Logging.StudioTraceListener] [32] System.Exception: Could not connect to UiPath Robot Service. Make sure the service is started!

at UiPath.Models.UiPathProxy.CheckAvailability()
at UiPath.Models.UiPathProxy.StartJob(JobModel job)
at UiPath.Models.UiPathDuplexProxy.StartJob(JobModel job)
at UiPath.Workflow.Execution.WorkflowRunner.StartJob(JobModel job)
at UiPath.Workflow.Execution.WorkflowRunner.Run(String workflowFilePath, String projectName)
at UiPath.Workflow.ViewModels.MainViewModel.RunWorkflow()
at UiPath.Workflow.ViewModels.MainViewModel.<get_RunWorkflowCommand>b__73_0(Object param)
at UiPath.Workflow.RelayCommand.Execute(Object parameter)

Studio/Robot/Orchestrator Version:

Last stable behavior:
Last stable version:
OS Version: Windows 7 Professional Service Pack 1
Others if Relevant: (workflow, logs, .net version, service pack, etc):


#2

Hey @Vishal_Khorasia

just go to run explorer and type "services.msc and hit enter.

then go to UiPath Robot Service and start it if not started or if already started then try to restart it.

when it will start then run your workflow. :slight_smile:

Regards…!!
Aksh


Cannot activate UiRobot.exe
Uipath studio error, could not connect to uipath robot service
#3

Thanks. Working now.

Not sure why 'UIRobot.exe" viewed in Task Manager is already running still I get the error. However after following your instruction the execution is working. But again viewed in Task Manager and I see two ‘UIRobot.exe’ running. Any reason ?
Happen to notice. While running UI Path Studio it runs two services in parallel viewed in Task Manager, One ‘UIStudio.exe’ and second ‘UIRobot.exe’ !!


#4

Well @Vishal_Khorasia

Uipath Till version 2016.2.* comes with a bundle of Uipath studio and Uirobot . So to use even Uipath Robot service you have to install Uipath studio as well.

But from future release 2017.1.* This will be possible to install them separately as per your use.

Like you can Use uipath studio to develop your project on development system and you can use standalone Uirobot service on production system to only run your published projects.

Regards…!!
Aksh


#5

Thanks @aksh1yadav


#6

Dear all
I’m Rookies of this field. As duty on new project in company, i have to research about RPA and UiPath also.
When i try to some examples using Ui Robot. Althrought i already connect to orchestra and make one Robot. But when click F5 on my example (Guess Number), Robot not running. Studio windows just minimize and maximaze again on my desktop.
UiRobot


Please help to check what happen with my example


#7

What studio version are you using?