web.ui.PageMenuControl error

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
8/22/2012 11:08:27 PM
Gravatar
Total Posts 11

web.ui.PageMenuControl error

I have a form that was working fine up until yesterday and am now getting the following error when trying to submit. We did roll a new dll to the site but then rolled back once we found that we were getting the error. We refreshed the app pool again, however, keep getting this error. Anyone have any ideas?

2012-08-22 16:52:56,096 ERROR 129.82.222.125 - en-US - /Admin/ServerLog.aspx - mojoPortal.Web.UI.PageMenuControl - System.ArgumentException: Could not find the sitemap node with URL 'http://www.xxxxxxx.xxx'.

at System.Web.UI.WebControls.SiteMapDataSource.GetNodes()
at System.Web.UI.WebControls.SiteMapDataSource.GetTreeView(String viewPath)
at System.Web.UI.WebControls.HierarchicalDataBoundControl.GetData(String viewPath)
at System.Web.UI.WebControls.TreeView.DataBindNode(TreeNode node)
at System.Web.UI.WebControls.TreeView.PerformDataBinding()
at System.Web.UI.WebControls.HierarchicalDataBoundControl.PerformSelect()
at mojoPortal.Web.UI.PageMenuControl.RenderTreeView()

8/23/2012 9:18:27 AM
Gravatar
Total Posts 18439

Re: web.ui.PageMenuControl error

My best guess is that in your layout.master file you have specified on PageMenu a StartingNodeUrl that it cannot find. I don't use that property myself and find it better to use StartingNodeOffset if anything. I don't think hard coding an url there is a great idea.

Hope that helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.