→ 🚀What's New? Explore Lansweeper's Fall 2024 Updates! Fall Launch Blog !

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
Lansweeper_User
Engaged Sweeper

Version 10.2.1.0 resolved this issue for me.

ErikT
Lansweeper Tech Support
Lansweeper Tech Support

@Lansweeper_User thank you for confirming version 10.2.1.0 resolved the issue for you. 

The issue should indeed be fixed in version 10.2.1.0

As referenced in our changelog

  • Fixed: LAN-13828 After updating to Lansweeper version 10.2.0.0, which includes a new UI, object reference errors can occur in the web console for certain users
VinceEbbitt
Engaged Sweeper

We're seeing a similar error after upgrading to 10.2.2.0. This fix doesn't help in our case

j_diaz
Lansweeper Tech Support
Lansweeper Tech Support

@VinceEbbitt , your issue is different if you are receiving this error after upgrading to 10.2.2.0. We suggest you contact us at support@lansweeper.com to help you with this.

New to Lansweeper?

Try Lansweeper For Free

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

Try Now