Getting the same error. Here is the debug output.
Server Error in '/lansweeper' Application.
--------------------------------------------------------------------------------
Argument 'Length' must be greater or equal to zero.
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.ArgumentException: Argument 'Length' must be greater or equal to zero.
Source Error:
Line 77: level = 1
Line 78: parent = masterOU
Line 79: tempou = Mid(OUrow("ou"), 1, InStr(OUrow("ou"), "DC=", CompareMethod.Text) - 2)
Line 80: While tempou <> ""
Line 81: poscn = InStrRev(tempou, "CN=", , CompareMethod.Text)
Source File: C:\Program Files\lansweeper\website\it-userlistOU.aspx Line: 79
Stack Trace:
[ArgumentException: Argument 'Length' must be greater or equal to zero.]
Microsoft.VisualBasic.Strings.Mid(String str, Int32 Start, Int32 Length) +476586
ASP.it_userlistou_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in C:\Program Files\lansweeper\website\it-userlistOU.aspx:79
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +256
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
System.Web.UI.Page.Render(HtmlTextWriter writer) +29
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1266
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082