cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
John3
Engaged Sweeper
My User OU Overview was working when I upgraded to Lansweeper 4.0 but now I'm getting this error.

Server Error in '/lansweeper' Application.
--------------------------------------------------------------------------------

Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>


Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>


12 REPLIES 12
chada
Engaged Sweeper III
Thank you for fixing this problem on our system with the hot fix. The support experience was excellent.
rcothern
Engaged Sweeper
chada wrote:
Thank you for fixing this problem on our system with the hot fix. The support experience was excellent.

I must also offer up thanks and praise at how fast this problem was corrected.
chada
Engaged Sweeper III
This has been emailed to you. Please destroy the data when you are done isolating the problem and formulating a solution.

Thanks!
rcothern
Engaged Sweeper
chada wrote:
This has been emailed to you. Please destroy the data when you are done isolating the problem and formulating a solution.

Thanks!


Just emailed my file. Please destroy after troubleshooting.

Thanks
Hemoco
Lansweeper Alumni
chada wrote:
This has been emailed to you. Please destroy the data when you are done isolating the problem and formulating a solution.

Thanks!

Sure, no problem.
Hemoco
Lansweeper Alumni
Please mail us the output of query: "select * from tbladusers" in excel
chada
Engaged Sweeper III
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
Hemoco
Lansweeper Alumni
Could you please mail us (lansweeper@hemoco.com) the following in excel "select * from tbladusers" so we can try to reproduce the problem.
Lansweeper wrote:
Could you please mail us (lansweeper@hemoco.com) the following in excel "select * from tbladusers" so we can try to reproduce the problem.


Any updates on this topic? I'm getting the same error.