Occasional exception with JSON JavaScriptSerializer "The length of the string exceeds [maxJsonLength]"

According to this post
https://code.google.com/p/mvc-mini-profiler/issues/detail?id=104
the Web.config setting is ignored. Instead you need to set the MiniProfiler.Settings.MaxJsonResponseSize property.