Question
TTEC
US
Last activity: 13 Feb 2020 12:46 EST
Pega Robot Runtime will exit becasue it cannot connect to the server.
Hi
I am running Pega Studio v 19.1 in standalone mode. When I try to run a solution, it gives following error: "Pega Robot Runtime will exit becasue it cannot connect to the server."
I have tried to update the runtimeconfig.xml with AllowRunWithNoPackage flag as both true and false but no luck.
Any suggestion on how to resolve this issue will highly appreciated. Thanks
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
TTEC
US
Hi, I was able to resolve this by moving the solution to a different folder as the old folder was part of one drive. Looks like one drive sync process was causing the issue. Thanks
Pegasystems Inc.
US
The reason runtime is exiting is because it is not connect to Robot Manager or Pega Deployment Portal depending on which of them is enable. If you hadn't intended to enable to settings you can disable them. The connection setting values are picked up from CommonConfig.xml located under C:\ProgramData\Pegasystems.
More details on the CommonConfig.xml here:
TTEC
US
Hi,Thank you for your response.My config file has no connection information. Below is how it looks like:
TTEC
US
Hi,
I am also did a test and seems to be a project specific error. I can run another project just fine.
TTEC
US
I also see following error in log file when running solution. Not sure if its related:
1) Exception Information
*********************************************
Exception Type: System.Security.SecurityException
Action: 0
PermissionType: NULL
FirstPermissionThatFailed: NULL
PermissionState: NULL
Demanded: NULL
GrantedSet: NULL
RefusedSet: NULL
DenySetInstance: NULL
PermitOnlySetInstance: NULL
FailedAssemblyInfo: NULL
Method: NULL
Zone: MyComputer
Url: NULL
Message: "Requested registry access is not allowed."
Data: IDictionary (System.Collections.ListDictionaryInternal) with 0 items
TargetSite: Void ThrowSecurityException(System.ExceptionResource)
HelpLink: NULL
Source: "mscorlib"
HResult: -2146233078
I also see following error in log file when running solution. Not sure if its related:
1) Exception Information
*********************************************
Exception Type: System.Security.SecurityException
Action: 0
PermissionType: NULL
FirstPermissionThatFailed: NULL
PermissionState: NULL
Demanded: NULL
GrantedSet: NULL
RefusedSet: NULL
DenySetInstance: NULL
PermitOnlySetInstance: NULL
FailedAssemblyInfo: NULL
Method: NULL
Zone: MyComputer
Url: NULL
Message: "Requested registry access is not allowed."
Data: IDictionary (System.Collections.ListDictionaryInternal) with 0 items
TargetSite: Void ThrowSecurityException(System.ExceptionResource)
HelpLink: NULL
Source: "mscorlib"
HResult: -2146233078
StackTrace Information
*********************************************
at System.ThrowHelper.ThrowSecurityException(ExceptionResource resource)
at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
at System.Diagnostics.EventLogInternal.GetLogRegKey(String currentMachineName, Boolean writable)
at System.Diagnostics.EventLogInternal.set_MaximumKilobytes(Int64 value)
at System.Diagnostics.EventLog.set_MaximumKilobytes(Int64 value)
at OpenSpan.Services.EventLogInstance.set_MaximumKilobytes(Int64 value)
ERROR | 2019-09-11 13:02:51,895 | 1 | 1 | 20216 | STA | Exception | | | Requested registry access is not allowed., Verbose Message: General Information
Sykes Enterprises Eastern Europe LTD
RO
I am having the same issue. I have a project and I wanted to modify some aspects of it so I copied the entire folder on my desktop and then removed some automations and a win form, and renamed some components. When I tried to run it, in order to test then new format, I get the same error as mentioned above. Already tried and changed all the config file values from the other posts related to this issue but the error persists. And is only for this project that I copied from the default location to my desktop.
Maybe this helps others better understand the situation.
Can anyone help?
Accepted Solution
TTEC
US
Hi, I was able to resolve this by moving the solution to a different folder as the old folder was part of one drive. Looks like one drive sync process was causing the issue. Thanks
Sykes Enterprises Eastern Europe LTD
RO
This seems to be the issue in my case as well. I moved the folder to a section not synced with one drive and it works. Thank you for the help with this!
Ford Motor Company
IN
I faced this error too and spent lot of time debugging it. The issue seemed to be Project specific and nothing to do with the config file.
After many hours, figured out that its because the parent folder name contains special characters like ',' or '&'. Weird that Pega Studio throws an irrelevant error due to this. Ensure that the path of your project folder does not contain any special characters.