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...Skins, Themes, ...Skins, Themes, ...DNN Menu ErrorDNN Menu Error
Previous
 
Next
New Post
5/8/2014 10:30 AM
 

I have a skin where I register the skin tag for the DNN menu system:

<%@ Register TagPrefix="dnn" TagName="MENU" src="~/DesktopModules/DDRMenu/Menu.ascx" %>

Then I have the tag used in the skin, with the corresponding Simple folder in the same skin path (taken directly from the Gravity host skin):

<dnn:MENU ID="bootstrapNav" MenuStyle="Simple" runat="server"></dnn:MENU>

 

But I'm getting the following error: 

An error has occurred. DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.UI.Navigation.GetNavigationNodes(DNNNode objRootNode, ToolTipSource eToolTips, Int32 intStartTabId, Int32 intDepth, Int32 intNavNodeOptions) at DotNetNuke.UI.Navigation.GetNavigationNodes(String strNamespace, ToolTipSource eToolTips, Int32 intStartTabId, Int32 intDepth, Int32 intNavNodeOptions) at DotNetNuke.Web.DDRMenu.SkinObject.OnPreRender(EventArgs e) --- End of inner exception stack trace ---

 

I'm on the latest version of DNN (7.2.2).

Any ideas?

 
New Post
5/8/2014 10:53 AM
 
Did you also copy the template folder to your skin?
 
New Post
5/8/2014 10:57 AM
 
Timo-

Thanks for the reply.

I did copy the "Simple" template folder over to my skin.

Matt
 
New Post
5/8/2014 11:07 AM
 
Any extra info in the event log?
 
New Post
5/8/2014 11:10 AM
 
There's a couple:

DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at DotNetNuke.Common.Utilities.UrlUtils.EncryptParameter(String value, String encryptionKey)
at DotNetNuke.Common.Utilities.UrlUtils.EncryptParameter(String value)
at Snapsis.DNN.Skins.NavMenu.GetNavLink(NavMenuTabInfo oTabInfo)
at Snapsis.DNN.Skins.NavMenu.GetHoverListHTML()
at Snapsis.DNN.Skins.NavMenu.Page_Load(Object sender, EventArgs e)
--- End of inner exception stack trace ---


DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at DotNetNuke.UI.Navigation.GetNavigationNodes(DNNNode objRootNode, ToolTipSource eToolTips, Int32 intStartTabId, Int32 intDepth, Int32 intNavNodeOptions)
at DotNetNuke.UI.Navigation.GetNavigationNodes(String strNamespace, ToolTipSource eToolTips, Int32 intStartTabId, Int32 intDepth, Int32 intNavNodeOptions)
at DotNetNuke.Web.DDRMenu.SkinObject.OnPreRender(EventArgs e)
--- End of inner exception stack trace ---
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...DNN Menu ErrorDNN Menu Error


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.

Content Layout

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out