cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ErikT
Lansweeper Tech Support
Lansweeper Tech Support

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.

object-reference-error.pngDiagnosis

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.

  • Stop your Lansweeper web service that hosts the Lansweeper website (IIS Express or IIS Server)
  • Run the SQL query below to disable the new behavior. You can run the query with DatabaseMaintenance.exe, which you can find C:\Program Files (x86)\Lansweeper\Tools on your Lansweeper server. If you are familiar with SQL Server Management Studio, you can also use this.
    Use Lansweeperdb
    update TsysCustomLayout
    set UiModernization = 0
  • Start your webserver service again

Our apologies for the inconvenience this causes, once solved a solution will be referenced as LAN-13828 on our changelog



Was this post helpful? Leave a Kudo!
Did you have a similar issue and a different solution? Share your work in the comments below and help your fellow IT Hero's!
More questions? Browse our  Quick Tech Solutions  or  Community Forum.


If you can't find what you're looking for, create a post in our Community Forum.



4 Comments

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now