The length of the string exceeds the value set on the maxJsonLength property.
Hosting in Windows Azure running uComponent version 2.0.1.0 and I get this error message:
Process information:
Process ID: 2364
Process name:
w3wp.exe
Account name: NT
AUTHORITY\NETWORK SERVICE
Exception
information:
Exception type:
InvalidOperationException
Exception
message: 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
uComponents.Core.Modules.ItemInfoService.ProcessRequest(HttpApplication
app)
at
System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously)
Exception
information:
Exception type:
InvalidOperationException
Exception
message: 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
uComponents.Core.Modules.ItemInfoService.ProcessRequest(HttpApplication
app)
at
System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously)
Having the same thing, editing web.config doesn't help either. I think there is just too much content being picked up. Site contains about 10 000 nodes. Would narrowing it down with an xpath help? Or would it still pick up the whole tree and then filter?
The length of the string exceeds the value set on the maxJsonLength property.
Hosting in Windows Azure running uComponent version 2.0.1.0 and I get this error message:
Process information:
Process ID: 2364
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Exception information:
Exception type: InvalidOperationException
Exception message: 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 uComponents.Core.Modules.ItemInfoService.ProcessRequest(HttpApplication app)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Exception information:
Exception type: InvalidOperationException
Exception message: 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 uComponents.Core.Modules.ItemInfoService.ProcessRequest(HttpApplication app)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Request information:
Request URL: http://www.xxxx.com/umbraco/uComponents/Items/range
Request path: /umbraco/uComponents/Items/range
User host address: xx.xx.xx.xx
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE
Exception information:
Exception type: ConfigurationErrorsException
Exception message: Could not load file or assembly 'uComponents.Core' or one of its dependencies. The system cannot find the file specified.
at System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase)
at System.Web.Configuration.Common.ModulesEntry.SecureGetType(String typeName, String propertyName, ConfigurationElement configElement)
at System.Web.Configuration.Common.ModulesEntry..ctor(String name, String typeName, String propertyName, ConfigurationElement configElement)
at System.Web.HttpApplication.BuildIntegratedModuleCollection(List`1 moduleList)
at System.Web.HttpApplication.GetModuleCollection(IntPtr appContext)
at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)
at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)
at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)
at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)
Could not load file or assembly 'uComponents.Core' or one of its dependencies. The system cannot find the file specified.
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName)
at System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
at System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase
Should I upgrade to the newest version or is this a different issue?
I really don't think this is azure specific, this is just a web.config update see here:
http://stackoverflow.com/questions/1151987/unlimited-for-maxjsonlength
<system.web.extensions>
<scripting>
<scriptResourceHandler enableCompression="true" enableCaching="true" />
<webServices>
<jsonSerialization maxJsonLength="2147483644"></jsonSerialization>
</webServices>
</scripting>
</system.web.extensions>
This is from my web.config. Still doesn't work.
Having the same thing, editing web.config doesn't help either. I think there is just too much content being picked up. Site contains about 10 000 nodes. Would narrowing it down with an xpath help? Or would it still pick up the whole tree and then filter?
thanks!
Any solution to this?
- Dennis
Think do a test with big data, also this error.. is Umbraco suitable for big data?
is working on a reply...