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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0DNN Section Head control exceptionDNN Section Head control exception
Previous
 
Next
New Post
1/4/2012 7:40 AM
 

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

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0DNN Section Head control exceptionDNN Section Head control exception


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