Ranorex Agent doesn't start - System.Exception: Failed to parse key because unexpected token '

Bug reports.
petr.sterba
Posts: 1
Joined: Tue Oct 08, 2019 10:33 am

Ranorex Agent doesn't start - System.Exception: Failed to parse key because unexpected token '

Post by petr.sterba » Tue Oct 08, 2019 10:42 am

Hello,
After installation windows update, Ranorex Agent doesn't start on VM. Service Ranorex Agent Auto Launcher is running, but in Windows Event Viewer is error:
System.Exception: Failed to parse key because unexpected token '

I trying uninstall and reinstall Ranorex Agent, but Ranorex Agent still doesn't start.

What happened?

Thank you very much

Petr

User avatar
Support Team
Site Admin
Site Admin
Posts: 12167
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Ranorex Agent doesn't start - System.Exception: Failed to parse key because unexpected token '

Post by Support Team » Tue Oct 08, 2019 8:40 pm

Hi Petr,

Try adding this file to C:\ProgramData\Ranorex Agent (or wherever you may have installed the Ranorex Agent). Once complete, restart the machine and see if the agent launches properly.

I hope this helps!

Cheers,
Ned
.
Image

Paul.S
Posts: 3
Joined: Tue Nov 10, 2020 8:41 am

Re: Ranorex Agent doesn't start - System.Exception: Failed to parse key because unexpected token '

Post by Paul.S » Tue Nov 10, 2020 8:47 am

Hi!

I have the same problem.
This file is not available anymore.
Please help!

User avatar
Support Team
Site Admin
Site Admin
Posts: 12167
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Ranorex Agent doesn't start - System.Exception: Failed to parse key because unexpected token '

Post by Support Team » Tue Nov 10, 2020 3:09 pm

Hi Paul.S,

I have fixed the link. Note, deleting the config.toml in %programfiles%/Ranorex Agent and reinstalling the Ranorex Agent should resolve the issue as well.

https://upload.ranorex.com/s/oAf5RizGq4NiPWF

Cheers,
Ned
.
Image

Paul.S
Posts: 3
Joined: Tue Nov 10, 2020 8:41 am

Re: Ranorex Agent doesn't start - System.Exception: Failed to parse key because unexpected token '

Post by Paul.S » Wed Nov 11, 2020 8:28 am

Still doesn't work.... -> System.Exception: Failed to parse key because unexpected token'

I tried your solutions:
1. Add file "config.toml" installation folder. Restart the machine.
2. Deleting the config.toml from installation folder. Uninstall and install again the Ranorex Agent.
--> Still the same issue -> System.Exception: Failed to parse key because unexpected token' in every 10 seconds... Nothing changed.

BTW, first solution is to add "config.toml" file, and second is to remove this file? That's make no sense... or maybe it's just my wrong understanding?

Please help!

Last week I tried to create a support ticket about this problem (with Support Key) and till today no response!
No confirmation that ticket (with ticket number) is opened or whatever. NOTHING.
I tried with different e-mail address - the same....

Paul.S
Posts: 3
Joined: Tue Nov 10, 2020 8:41 am

Re: Ranorex Agent doesn't start - System.Exception: Failed to parse key because unexpected token '

Post by Paul.S » Wed Nov 18, 2020 11:36 am

Hello Ned,

Could you answer?