Uipath studio run error

Hi there,

I have met the same issue twice whenever I upgraded UiPath Studio community Edition to newer version.

The major error is “Newtonsoft.Json.JsonSerializationException: Cannot create and populate list type”.

The root cause is “An incompatible version of Newtonsoft.Json has been loaded into the Global Assembly Cache (typically by another application)”.

The solution is replacing the .dll file in the GAC. Here is the steps:

  1. search “Newtonsoft.Json.dll” in your computer

  2. right click, open this file location (here is location in my computer for your reference: C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Newtonsoft.Json\v4.0_11.0.0.0__30ad4fe6b2a6aeed\Newtonsoft.Json.dll)

  3. go to this file’s parent folder (2 levels) “Newtonsoft.Json”, cut this folder, paste to other place for backup 3

  4. Lastly, reinstall the UiPath Studio, it works! :blush:

P.s. I wrote this solution in Chinese UiPath - issue - “Newtonsoft.Json.JsonSerializationException: Cannot create and populate list type System”