Can't Edit Form
Last Post 06-25-2010 06:43 AM by Ryan Bakerink. 6 Replies.
AddThis - Bookmarking and Sharing Button
Author Messages
David AmmUser is Offline
river guide
river guide
Posts:156
Avatar

--
06-24-2010 05:37 AM

    When I try to access the form in Edit mode I get a critical error (see error report below). How do I debug this? Is it possible to retrieve the form config data?

    DotNetNuke.Services.Exceptions.PageLoadException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> 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 System.Web.Script.Serialization.JavaScriptSerializer.Serialize(Object obj, SerializationFormat serializationFormat) at System.Web.Script.Serialization.JavaScriptSerializer.Serialize(Object obj) --- End of inner exception stack trace --- at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at DotNetNuke.UI.Utilities.Reflection.InvokeMethod(Type Type, String MethodName, Object Target, Object[] Args) at DotNetNuke.UI.Utilities.MSAJAX.Serialize(Object Obj) at DotNetNuke.UI.Utilities.ClientAPI.SerializeClientVariableDictionary(Page objPage, Dictionary`2 objDict) at DotNetNuke.UI.Utilities.ClientAPI.CAPIPreRender(Object Sender, EventArgs Args) at System.Web.UI.Control.OnPreRender(EventArgs e) at System.Web.UI.HtmlControls.HtmlInputHidden.OnPreRender(EventArgs e) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
     

     

    David AmmUser is Offline
    river guide
    river guide
    Posts:156
    Avatar

    --
    06-24-2010 06:13 AM

    I've managed to export the module contents in xml format. It's a huge file (350K) with hundreds of form fields! Is it possible to re-import this xml file into a new form module?

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    06-24-2010 07:09 AM
    David - What version of the module are you running? Make sure its the .61 patch which disabled Quick Edit initially. On very large forms this error is happening if you have the 'Quick Edit' feature enabled (which it used to be by default). It appears that this new feature is powerful but not exactly quick .

    If needed I can get you a query to run on the database to disable it directly and then you should be ok.

    -Chad
    David AmmUser is Offline
    river guide
    river guide
    Posts:156
    Avatar

    --
    06-24-2010 12:11 PM

    I was able to export form content as xml file and then break up the form into 5 separate forms. Found an error on two field short names (i.e. short names should not include the character ').

     

    Can I disable the quick edit in the xml file prior to importing it? What's the tag name?

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    06-24-2010 12:13 PM
    Hi... Yes the setting name is called 'DisableQuickEdit' and it should be set to True so that Quick Edit is disabled.

    Thanks,

    Chad
    David AmmUser is Offline
    river guide
    river guide
    Posts:156
    Avatar

    --
    06-24-2010 12:30 PM

    I found the tags and disabled the quick edit and drag/drop settings then reimported the consolidated form. This solved the problem.

    Ryan BakerinkUser is Offline
    river guide
    river guide
    Posts:1900
    Avatar

    --
    06-25-2010 06:43 AM

    Hello David,

     

    We are very glad to see you have found resolution to your issue. If you ever have additional questions or comments, please let us know.

     

    Thanks,

     

    Ryan



    ---
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi