I am also facing this error.
Re-installing only work for a while, its not permanent solution.
I got this error on UiPath 2018 Studio 2018.1 version.
In the previous version UiPath 2017 Studio 2017.1.6522 no error occurred.
Unexpected character encountered while parsing value: {. Path 'WorkflowFile', line 1, position 17.
System.ServiceModel.FaultException: Unexpected character encountered while parsing value: {. Path 'WorkflowFile', line 1, position 17.
Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at UiPath.Models.IUiPathRemoteContract.StartJob(Stream jobInfo)
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__72_0(Object param)
at UiPath.Workflow.RelayCommand.Execute(Object parameter)
I’m getting the same error. This is what what I get when I copy the error log to clipboard. Restarted computer, reinstalled UIPath. Uipath is still giving same error.
right, so this error is from a mismatch in Studio/Robot/Service versions. we’ll look into it to see if there’s any problem with the installer.
The correct way would be to uninstall the previous version before installing the new one, including the service.
If it doesn’t work or you want to use 2 versions in parallel (unsupported), here’s a workaround:
close Studio and Robot tray
go to windows Services (search cortana for Services) and to the UiRobot service. Doubleclick it.
In the properties, there should be the location of the actual exe file
go to that location and start the Robot and Studio from there