This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.
When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:
I get the following error when I try to add another site to the mojoportal.
The SiteMapProvider 'mojosite11' cannot be found.
I thought I did something wrong so I tried to create a new site entry and I am now getting
The SiteMapProvider 'mojosite12' cannot be found.
Is there something what I do wrong, or is there a limit on the number of sites that can handled with mojoportal?
Here the error message:
Server Error in '/' Application. --------------------------------------------------------------------------------
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: The SiteMapProvider 'mojosite12' cannot be found.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[HttpException (0x80004005): The SiteMapProvider 'mojosite12' cannot be found.] System.Web.UI.WebControls.SiteMapDataSource.get_Provider() +1255560 System.Web.UI.WebControls.SiteMapDataSource.GetHierarchicalView(String viewPath) +12 System.Web.UI.HierarchicalDataSourceControl.System.Web.UI.IHierarchicalDataSource.GetHierarchicalView(String viewPath) +7 System.Web.UI.WebControls.HierarchicalDataBoundControl.GetData(String viewPath) +22 System.Web.UI.WebControls.Menu.DataBindItem(MenuItem item) +42 System.Web.UI.WebControls.Menu.PerformDataBinding() +117 System.Web.UI.WebControls.HierarchicalDataBoundControl.PerformSelect() +70 System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +70 System.Web.UI.WebControls.Menu.DataBind() +4 mojoPortal.Web.UI.SiteMenu.RenderMenu() +657 mojoPortal.Web.UI.SiteMenu.PopulateControls() +332 mojoPortal.Web.UI.SiteMenu.Page_Load(Object sender, EventArgs e) +513 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +47 System.Web.UI.Control.LoadRecursive() +131 System.Web.UI.Control.LoadRecursive() +131 System.Web.UI.Control.LoadRecursive() +131 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436
Look in Web.config at SiteMap section. it is only pre-configured for up to 10 sites but you can easily configure it for more.
Joe