Symptoms
In Lansweeper version 10.2.0.0, we introduced a new design for the top and left menus in the web console. However, some customers are writing in about getting an error message after upgrading and not being able to access the web console.
Diagnosis
In Program Files (x86)\Lansweeper\Website\App_Data\web_errorlog.txt, you will find errors like these.
06/29/2022 07:29:33 v|10.2.0.0| : (500) https://s-plan:82/default.aspx : Object reference not set to an instance of an object.
at LS.CustomControls.NavBar.NavBarMenuBoxControl.MakeMenuBoxHtml()
at LS.CustomControls.NavBar.NavBarMenuBoxControl.OnPreRender(EventArgs e)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
06/29/2022 07:29:33 v|10.2.0.0| : (500) https://s-plan:82/default.aspx : Error executing child request for /MainMaster/NavBar.aspx.
at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)
at System.Web.HttpServerUtility.Execute(String path, TextWriter writer, Boolean preserveForm)
at ASP.mainmaster_topbar_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.Page.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
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.ProcessRequest(HttpContext context)
at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)
Solution
Our development team is looking into this, we hope to provide a fix for this in a future patch. For now, you can follow the steps to revert back to the old UI.
Our apologies for the inconvenience this causes, once solved a solution will be referenced as LAN-13828 on our changelog