Page 1 of 1

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

Posted: Tue Oct 08, 2019 10:42 am
by petr.sterba
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

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

Posted: Tue Oct 08, 2019 8:40 pm
by Support Team
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

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

Posted: Tue Nov 10, 2020 8:47 am
by Paul.S
Hi!

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

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

Posted: Tue Nov 10, 2020 3:09 pm
by Support Team
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

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

Posted: Wed Nov 11, 2020 8:28 am
by Paul.S
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....

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

Posted: Wed Nov 18, 2020 11:36 am
by Paul.S
Hello Ned,

Could you answer?