After upgrading EPiServer from version 7.0 you might get the following error when trying to insert images on your EPiServer site:

This error occurs when an old version of the assembly Newtonsoft.Json is installed in the GAC and is being used instead of the EPiServer one. You can verify this by navigating to the .NET GAC:



If this folder contains an old version of Newtonsoft.Json (typically version 4), it is most likely the cause of the problem.

You can remove the assembly with GacUtil, see this article for more information:

After removing the assembly and restarting the EPiServer page the problem should be resolved.