Closed GoogleCodeExporter closed 9 years ago
Also as a patch: http://code.google.com/p/mvc-mini-profiler/issues/detail?id=106
Original comment by keithhe...@gmail.com
on 5 Sep 2011 at 7:39
I'm experiencing the same issue, do you know when the update will be available
at NuGet
Original comment by marko.hu...@gmail.com
on 20 Sep 2011 at 4:51
When Sam updates it I guess, but you can download the patch to your own copy in
the meantime.
Original comment by keithhe...@gmail.com
on 20 Sep 2011 at 9:09
fixed it now
Original comment by sam.saff...@gmail.com
on 14 Feb 2012 at 4:54
Is this really fixed?
I just get the same exception with the current release.
From the elmah log:
System.InvalidOperationException: Error during serialization or deserialization
using the JSON JavaScriptSerializer. The length of the string exceeds the value
set on the maxJsonLength property.
at System.Web.Script.Serialization.JavaScriptSerializer.Serialize(Object obj, StringBuilder output, SerializationFormat serializationFormat)
at StackExchange.Profiling.MiniProfiler.ToJson(MiniProfiler profiler) in C:\Users\sam\Desktop\MiniProfiler\StackExchange.Profiling\MiniProfiler.cs:line 374
at StackExchange.Profiling.UI.MiniProfilerHandler.Results(HttpContext context) in C:\Users\sam\Desktop\MiniProfiler\StackExchange.Profiling\UI\MiniProfilerHandler.cs:line 302
at StackExchange.Profiling.UI.MiniProfilerHandler.ProcessRequest(HttpContext context) in C:\Users\sam\Desktop\MiniProfiler\StackExchange.Profiling\UI\MiniProfilerHandler.cs:line 131
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Original comment by aprja...@gmail.com
on 20 Dec 2012 at 9:33
I can confirm it's not fixed in 2.0.4
Original comment by zombie.c...@gmail.com
on 28 Dec 2012 at 8:26
Same here. Getting the error in the MiniProfiler version that's currently on
nuget (published June 2012).
Original comment by gisc...@gmail.com
on 5 Feb 2013 at 8:11
The default is set to 2097152 characters in MiniProfiler.Settings.cs
But you can override this with something like:
MiniProfiler.Settings.MaxJsonResponseSize = 2147483647
Original comment by ianfrase...@gmail.com
on 25 Feb 2013 at 3:50
Original issue reported on code.google.com by
keithhe...@gmail.com
on 2 Sep 2011 at 8:43