Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Error during serialization or deserializationError during serialization or deserialization
Previous
 
Next
New Post
10/12/2014 5:01 PM
 

Hi DNN Gurus. Hopefully someone can help me with this problem. I've been working a few weeks on it. Please help me :-)

 I'm currently running 7.2.1 and cannot get into Site Settings. We recently got hit with the spam registrations which has now been cleaned up and I'm not sure if that is related.

Here is the error I am seeing. I've added #### to some sections to protect identities.

 AssemblyVersion:7.2.1

PortalID:0

PortalName:#####

UserID:1

UserName:########

ActiveTabID:64

ActiveTabName:Site Settings

RawURL:/Admin/Site-Settings

AbsoluteURL:/Default.aspx

AbsoluteURLReferrer:http://##########

UserAgent:Mozilla/5.0 (Windows NT 6.3; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0

DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID:f45f1ead-1625-44c6-8118-70e13d9ee60b

InnerException:Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property.

FileName:

FileLineNumber:0

FileColumnNumber:0

Method:System.Web.Script.Serialization.JavaScriptSerializer.Serialize

StackTrace:

Message:

DotNetNuke.Services.Exceptions.PageLoadException: Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property. ---> 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, SerializationFormat serializationFormat)
   at Telerik.Web.UI.RadComboBox.DescribeComponent(IScriptDescriptor descriptor)
   at Telerik.Web.UI.ScriptRegistrar.GetScriptDescriptors(Control control)
   at Telerik.Web.UI.RadDataBoundControl.GetScriptDescriptors()
   at System.Web.UI.ScriptControlManager.RegisterScriptDescriptors(IScriptControl scriptControl)
   at Telerik.Web.UI.RadDataBoundControl.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at ASP.controls_filepickeruploader_ascx.__RenderdnnFileUploadScope(HtmlTextWriter __w, Control parameterContainer)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer)
   at System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at ASP.controls_filepickeruploader_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at ASP.desktopmodules_admin_portals_sitesettings_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at Telerik.Web.UI.RadAjaxPanel.RenderChildren(HtmlTextWriter writer)
   at Telerik.Web.UI.RadAjaxPanel.RenderContents(HtmlTextWriter writer)
   at Telerik.Web.UI.RadAjaxPanel.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at Telerik.Web.UI.ControlRenderer.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.UpdatePanel.RenderChildren(HtmlTextWriter writer)
   at System.Web.UI.UpdatePanel.Render(HtmlTextWriter writer)
   at Telerik.Web.UI.OurUpdatePanel.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at DotNetNuke.UI.Modules.ModuleHost.RenderContents(HtmlTextWriter writer)
   at System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at ASP.portals__default_skins_nukeville_morpheus_nzsar_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)
   at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.Page.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at Telerik.Web.UI.RadAjaxControl.RenderPageInAjaxMode(HtmlTextWriter writer, Control page)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.Page.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   --- End of inner exception stack trace ---
 
New Post
10/12/2014 5:24 PM
 

Oh, and the other thing is I cannot yet upgrade to 7.3. We have some modules that do not function correctly when we do, so we are waiting until the module developer provides an update. The annoying part is Site Settings works fine after the upgrade.....sigh...

 

 

 
New Post
10/13/2014 3:28 AM
 
Check PortalSettings table for rows with Long SettingsValue, e.g. by running the following statement from Host > SQL:
SELECT PortalID, SettingName, SettingValue FROM {databaseOwner}[{objectQualifier}PortalSettings] ORDER BY Len(SettingValue) DESC

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
10/13/2014 4:05 AM
 

Hi Sebastian. Thank you very much for replying.

I've run the query and got the following (##### is intentional) -

0 Security_EmailValidation ^\s*[a-zA-Z0-9_%+#&'*/=^`{|}~-](?:\.?[a-zA-Z0-9_%+#&'*/=^`{|}~-])*@(?:[a-zA-Z0-9_](?:(?:\.?|-*)[a-zA-Z0-9_])*\.[a-zA-Z]{2,9}|\[(?:2[0-4]\d|25[0-5]|[01]?\d\d?)\.(?:2[0-4]\d|25[0-5]|[01]?\d\d?)\.(?:2[0-4]\d|25[0-5]|[01]?\d\d?)\.(?:2[0-4]\d|25[0-5]|[01]?\d\d?)])\s*$
0 DefaultAdminContainer [G]Containers/Nukeville.Morpheus/ImagePaneOnly.ascx
0 DefaultPortalContainer [G]Containers/Nukeville.Morpheus/ImagePaneOnly.ascx
0 DefaultPortalSkin [G]skins/nukeville.morpheus/#####.ascx
0 DefaultAdminSkin [G]skins/nukeville.morpheus/#####.ascx
0 DefaultTranslatorRoles-en-AU Administrators;Translator (en-AU)
0 DefaultTranslatorRoles-en-NZ Administrators;Translator (en-NZ)
0 TimeZone New Zealand Standard Time
0 DefPreviewProfiles_Created DNNCORP.CE
0 FavIconPath FileID=163
0 PortalAliasMapping REDIRECT
0 ControlPanelSecurity MODULE
0 EnableBrowserLanguage// False
0 AllowUserUICulture False
0 AUM_VanityUrlPrefix users
0 CrmEnableCompositeFiles False
0 CrmMinifyCss False
0 CrmMinifyJs False
0 CrmUseApplicationSettings False
0 EnableRegisterNotification False
0 EnableUrlLanguage False
0 HideLoginControl False
0 Registration_RandomPassword False
0 Registration_RequireUniqueDisplayName False
0 Registration_UseAuthProviders False
0 Registration_UseEmailAsUserName False
0 Registration_UseProfanityFilter False
0 Security_RequireValidProfile False
0 SSLEnabled False
0 SSLEnforced False
0 paypalsandbox False
0 Security_CaptchaLogin False
0 Security_CaptchaRetrivePassword False
0 Security_CaptchaRegister true
0 Registration_RequireConfirmPassword True
0 Security_RequireValidProfileAtLogin True
0 SearchAdminInitialization true
0 InlineEditorEnabled True
0 HideFoldersEnabled True
0 EnableSkinWidgets True
0 GettingStartedPageShown True
0 Profile_DisplayVisibility True
0 ControlPanelMode VIEW
0 EnablePopups True
0 ControlPanelVisibility MAX
0 MessagingSendEmail YES
0 MessagingAllowAttachments NO
0 MessagingProfanityFilters NO
0 Redirect_AfterLogin -1
0 Redirect_AfterLogout 57
0 Redirect_AfterRegistration -1
0 GettingStartedTabId 56
0 MaximumVersionHistory 5
0 MessagingRecipientLimit 5
0 MessagingThrottlingInterval 0
0 AUM_RedirectOldProfileUrl Y
0 Registration_RegistrationFormType 0
0 Profile_DefaultVisibility 2

 
New Post
10/13/2014 8:03 AM
 
it Looks like email Validation Expression exceeds max string length, accespted by the module. You may delete the setting, to revert to default Expression.
Please log the issue into the public issue tracker at Support.dnnsoftware.com, thanks!

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Error during serialization or deserializationError during serialization or deserialization


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out