Root and Login page Server Errors

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
1/15/2009 3:53:35 PM
Gravatar
Total Posts 18

Root and Login page Server Errors

We had Mojo runing for several months.  At some poin this we something has happend that will not allow me to see the root page or the login page.  I can navigate within the site by using a url to any page other than the root or login.  There must be something in the db that is amiss related to these pages.  Can someone guide me to the tables/field I should look at?

1/16/2009 7:24:32 AM
Gravatar
Total Posts 18439

Re: Root and Login page Server Errors

The first step in trouble shooting is to look at the errors in the log for clues about what is happening, /Data/currentlog.config is the log file, you can download it and review it with any text editor like notepad. Newest errors are at the bottom.

Hope it helps,

Joe

1/16/2009 8:56:45 AM
Gravatar
Total Posts 18

Re: Root and Login page Server Errors

Joe,

I am using a skin from "mitchinson" not sure with one since I cant get in to the admin page.  I have the "Home" link in the upper right point at http://www.secontainer.com/Portal/.  This is not a public site, but an intranet site.

Here is the site text of the last error log - How migh I go about fixing the error with "site map" in the db?

2009-01-16 09:46:10,753 [4704] ERROR mojoPortal.Web.Global [(null)] - 192.32.10.68-en-US - /portal/Default.aspx
System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ArgumentException: Could not find the sitemap node with URL 'http://www.secontainer.com/'.
at System.Web.UI.WebControls.SiteMapDataSource.GetNodes()
at System.Web.UI.WebControls.SiteMapDataSource.GetTreeView(String viewPath)
at System.Web.UI.WebControls.SiteMapDataSource.GetHierarchicalView(String viewPath)
at System.Web.UI.HierarchicalDataSourceControl.System.Web.UI.IHierarchicalDataSource.GetHierarchicalView(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.Adapters.HierarchicalDataBoundControlAdapter.PerformDataBinding()
at System.Web.UI.WebControls.HierarchicalDataBoundControl.PerformSelect()
at System.Web.UI.WebControls.BaseDataBoundControl.DataBind()
at System.Web.UI.WebControls.TreeView.DataBind()
at mojoPortal.Web.UI.PageMenuControl.RenderTreeView()
at mojoPortal.Web.UI.PageMenuControl.Page_Load(Object sender, EventArgs e)
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
--- End of inner exception stack trace ---
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.default_aspx.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
 

1/16/2009 9:07:27 AM
Gravatar
Total Posts 18439

Re: Root and Login page Server Errors

Did you move the site from being a root web site to a virtual directory or move it from one machine to another?

Is it running on apache?

Assuming this is the relevant error (and I'm not sure it is)

I would look at are the mp_Pages table. I would look for the row with the url indicated in your error:
"Could not find the sitemap node with URL 'http://www.secontainer.com/'" and maybe remove that url

It might also be worth reviewing the mp_FriendlyUrls table and look for incorrect urls.

It would be best to clear the log, then visit your /Secure/Login.aspx and then immediately see what got logged.

Hope it helps,

Joe

1/16/2009 1:41:36 PM
Gravatar
Total Posts 18

Re: Root and Login page Server Errors

Joe,

Again thanks for the help.  After digging in the mp_FriendlyUrls I found a page in which the url did not work.  I also found a ref to this page in the mp_Pages tabel.  and could not find any references beyond this.  After asking some questions of the folks who had tried to creat this page I found they had "operator issues" and the page was not created properly.  I deleted the referecnes in the two tables and everything is back up and running.

Where can I obtain info or diagrams of the tables?  I would like to gain a better understanding of how the db is designed

1/16/2009 2:10:21 PM
Gravatar
Total Posts 18439

Re: Root and Login page Server Errors

If you're using MS SQL, you can generate table diagrams from it easily enough. I don't have any already made for you though.

Best,

Joe

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