I am using a section control in one of my user control. When i access that page from IExplorer it gives me error which is
Error: is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Invalid JSON primitive: . at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializePrimitiveObject() at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeInternal(Int32 depth) at System.Web.Script.Serialization.JavaScriptObjectDeserializer.BasicDeserialize(String input, Int32 depthLimit, JavaScriptSerializer serializer) at System.Web.Script.Serialization.JavaScriptSerializer.Deserialize(JavaScriptSerializer serializer, String input, Type type, Int32 depthLimit) at System.Web.Script.Serialization.JavaScriptSerializer.Deserialize[T](String input) --- 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.InvokeGenericMethod[T](Type Type, String MethodName, Object Target, Object[] Args) at DotNetNuke.UI.Utilities.MSAJAX.Deserialize[T](String Data) at DotNetNuke.UI.Utilities.ClientAPI.GetClientVariableList(Page objPage) at DotNetNuke.UI.Utilities.ClientAPI.RegisterClientVariable(Page objPage, String strVar, String strValue, Boolean blnOverwrite) at DotNetNuke.UI.Utilities.DNNClientAPI.set_MinMaxContentVisibile(Control objButton, Int32 intModuleId, Boolean blnDefaultMin, MinMaxPersistanceType ePersistanceType, Boolean Value) at DotNetNuke.UI.Utilities.DNNClientAPI.set_MinMaxContentVisibile(Control objButton, Boolean blnDefaultMin, MinMaxPersistanceType ePersistanceType, Boolean Value) at Custom_SectionHead.set_IsExpanded(Boolean Value) in D:\Projects\eTM\rmcontrols\SectionHead.ascx.vb:line 106 at ASP.desktopmodules_etm_testsuitview_ascx.__BuildControlSCHWorkflow() in D:\Projects\eTM\DesktopModules\eTM\TestSuitView.ascx:line 759 at ASP.desktopmodules_etm_testsuitview_ascx.__BuildControlpnlTestView() in D:\Projects\eTM\DesktopModules\eTM\TestSuitView.ascx:line 151 at ASP.desktopmodules_etm_testsuitview_ascx.__BuildControlTree(desktopmodules_etm_testsuitview_ascx __ctrl) in D:\Projects\eTM\DesktopModules\eTM\TestSuitView.ascx:line 1 at ASP.desktopmodules_etm_testsuitview_ascx.FrameworkInitialize() in D:\Projects\eTM\DesktopModules\eTM\TestSuitView.ascx.vb:line 912308 at System.Web.UI.UserControl.InitializeAsUserControlInternal() at System.Web.UI.TemplateControl.LoadControl(IWebObjectFactory objectFactory, VirtualPath virtualPath, Type t, Object[] parameters) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.ControlUtilities.LoadControl[T](TemplateControl containerControl, String ControlSrc) at DotNetNuke.UI.Modules.ModuleHost.LoadModuleControl() --- End of inner exception stack trace ---
I explorer it and found when i used section head control inside a panel and that panel is hide at page load and user click on a button to view that panel then error comes, otherwise its working fine.
I am using dnn 5.01.04 in windows xp server with sql server 2000.
Thanks