- 5
I'm using Nop 2.65 and the Nop Anywhere Sliders plugin has been installed. But when I try to configure the slider(in Admin -> Plugins -> Nop Anywhere Sliders -> Manage Sliders), I get the following error when I hit the 'Save' or 'Save and Continue' and Edit button:
[code]
Server Error in '/' Application.
Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property.
Source Error:
Line 22: }
Line 23:
Line 24: @Html.Telerik().DropDownList().Name("Category").BindTo(categoryList)
Source File: e:\NopCommerce\nopCommerce_2.65_Source\Presentation\Nop.Web\Plugins\SevenSpikes.Nop.Plugins.AnywhereSliders\Views\AnywhereSlidersAdmin\EditorTemplates\SliderCategory.cshtml Line: 24
Stack Trace:
[InvalidOperationException: Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property.]
System.Web.Script.Serialization.JavaScriptSerializer.Serialize(Object obj, StringBuilder output, SerializationFormat serializationFormat) +532373
System.Web.Script.Serialization.JavaScriptSerializer.Serialize(Object obj, SerializationFormat serializationFormat) +66
Telerik.Web.Mvc.UI.ClientSideObjectWriter.AppendCollection(String name, IEnumerable value) +100
Telerik.Web.Mvc.UI.DropDownList.WriteInitializationScript(TextWriter writer) +230
Telerik.Web.Mvc.UI.ViewComponentBase.WriteHtml(HtmlTextWriter writer) +655
Telerik.Web.Mvc.UI.DropDownList.WriteHtml(HtmlTextWriter writer) +91
Telerik.Web.Mvc.UI.ViewComponentBase.ToHtmlString() +81
Telerik.Web.Mvc.UI.ViewComponentBuilderBase`2.ToHtmlString() +22
Telerik.Web.Mvc.{Dynamic}.DropDownListBuilder.IHtmlString.ToHtmlString() +4
System.Web.HttpUtility.HtmlEncode(Object value) +38
System.Web.WebPages.WebPageBase.Write(Object value) +68
ASP._Page_Plugins_SevenSpikes_Nop_Plugins_AnywhereSliders_Views_AnywhereSlidersAdmin_EditorTemplates_SliderCategory_cshtml.Execute() in e:\NopCommerce\nopCommerce_2.65_Source\Presentation\Nop.Web\Plugins\SevenSpikes.Nop.Plugins.AnywhereSliders\Views\AnywhereSlidersAdmin\EditorTemplates\SliderCategory.cshtml:24
System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +197
System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +81
System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +88
System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance) +222
System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer) +115
System.Web.Mvc.Html.TemplateHelpers.ExecuteTemplate(HtmlHelper html, ViewDataDictionary viewData, String templateName, DataBoundControlMode mode, GetViewNamesDelegate getViewNames, GetDefaultActionsDelegate getDefaultActions) +579
System.Web.Mvc.Html.TemplateHelpers.TemplateHelper(HtmlHelper html, ModelMetadata metadata, String htmlFieldName, String templateName, DataBoundControlMode mode, Object additionalViewData, ExecuteTemplateDelegate executeTemplate) +1002
System.Web.Mvc.Html.TemplateHelpers.TemplateHelper(HtmlHelper html, ModelMetadata metadata, String htmlFieldName, String templateName, DataBoundControlMode mode, Object additionalViewData) +66
System.Web.Mvc.Html.TemplateHelpers.TemplateFor(HtmlHelper`1 html, Expression`1 expression, String templateName, String htmlFieldName, DataBoundControlMode mode, Object add
[code]
Server Error in '/' Application.
Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property.
Source Error:
Line 22: }
Line 23:
Line 24: @Html.Telerik().DropDownList().Name("Category").BindTo(categoryList)
Source File: e:\NopCommerce\nopCommerce_2.65_Source\Presentation\Nop.Web\Plugins\SevenSpikes.Nop.Plugins.AnywhereSliders\Views\AnywhereSlidersAdmin\EditorTemplates\SliderCategory.cshtml Line: 24
Stack Trace:
[InvalidOperationException: Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property.]
System.Web.Script.Serialization.JavaScriptSerializer.Serialize(Object obj, StringBuilder output, SerializationFormat serializationFormat) +532373
System.Web.Script.Serialization.JavaScriptSerializer.Serialize(Object obj, SerializationFormat serializationFormat) +66
Telerik.Web.Mvc.UI.ClientSideObjectWriter.AppendCollection(String name, IEnumerable value) +100
Telerik.Web.Mvc.UI.DropDownList.WriteInitializationScript(TextWriter writer) +230
Telerik.Web.Mvc.UI.ViewComponentBase.WriteHtml(HtmlTextWriter writer) +655
Telerik.Web.Mvc.UI.DropDownList.WriteHtml(HtmlTextWriter writer) +91
Telerik.Web.Mvc.UI.ViewComponentBase.ToHtmlString() +81
Telerik.Web.Mvc.UI.ViewComponentBuilderBase`2.ToHtmlString() +22
Telerik.Web.Mvc.{Dynamic}.DropDownListBuilder.IHtmlString.ToHtmlString() +4
System.Web.HttpUtility.HtmlEncode(Object value) +38
System.Web.WebPages.WebPageBase.Write(Object value) +68
ASP._Page_Plugins_SevenSpikes_Nop_Plugins_AnywhereSliders_Views_AnywhereSlidersAdmin_EditorTemplates_SliderCategory_cshtml.Execute() in e:\NopCommerce\nopCommerce_2.65_Source\Presentation\Nop.Web\Plugins\SevenSpikes.Nop.Plugins.AnywhereSliders\Views\AnywhereSlidersAdmin\EditorTemplates\SliderCategory.cshtml:24
System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +197
System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +81
System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +88
System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance) +222
System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer) +115
System.Web.Mvc.Html.TemplateHelpers.ExecuteTemplate(HtmlHelper html, ViewDataDictionary viewData, String templateName, DataBoundControlMode mode, GetViewNamesDelegate getViewNames, GetDefaultActionsDelegate getDefaultActions) +579
System.Web.Mvc.Html.TemplateHelpers.TemplateHelper(HtmlHelper html, ModelMetadata metadata, String htmlFieldName, String templateName, DataBoundControlMode mode, Object additionalViewData, ExecuteTemplateDelegate executeTemplate) +1002
System.Web.Mvc.Html.TemplateHelpers.TemplateHelper(HtmlHelper html, ModelMetadata metadata, String htmlFieldName, String templateName, DataBoundControlMode mode, Object additionalViewData) +66
System.Web.Mvc.Html.TemplateHelpers.TemplateFor(HtmlHelper`1 html, Expression`1 expression, String templateName, String htmlFieldName, DataBoundControlMode mode, Object add