Server Error in '/' Application. -------------------------------------------------------------------------------- Overload resolution failed because no Public 'LCase' can be called with these arguments: 'Public Shared Function LCase(Value As Char) As Char': Argument matching parameter 'Value' cannot convert from 'DBNull' to 'Char'. 'Public Shared Function LCase(Value As String) As String': Argument matching parameter 'Value' cannot convert from 'DBNull' to 'String'. 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.Reflection.AmbiguousMatchException: Overload resolution failed because no Public 'LCase' can be called with these arguments: 'Public Shared Function LCase(Value As Char) As Char': Argument matching parameter 'Value' cannot convert from 'DBNull' to 'Char'. 'Public Shared Function LCase(Value As String) As String': Argument matching parameter 'Value' cannot convert from 'DBNull' to 'String'. Source Error: Line 227:<%for each myrow in dsdomains.rows Line 228:found = false Line 229:if left(lcase(serverrow("scanuser")),len(myrow("netbiosname"))) <> lcase(myrow("netbiosname")) then Line 230:for each credrow in dscredentials.rows Line 231:if lcase(myrow("netbiosname")) = lcase(credrow("domain")) then found = true Source File: C:\Program Files\Lansweeper\website\it-config.aspx Line: 229 Stack Trace: [AmbiguousMatchException: Overload resolution failed because no Public 'LCase' can be called with these arguments: 'Public Shared Function LCase(Value As Char) As Char': Argument matching parameter 'Value' cannot convert from 'DBNull' to 'Char'. 'Public Shared Function LCase(Value As String) As String': Argument matching parameter 'Value' cannot convert from 'DBNull' to 'String'.] Microsoft.VisualBasic.CompilerServices.OverloadResolution.ResolveOverloadedCall(String MethodName, List`1 Candidates, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, BindingFlags LookupFlags, Boolean ReportErrors, ResolutionFailure& Failure) +549 Microsoft.VisualBasic.CompilerServices.OverloadResolution.ResolveOverloadedCall(String MethodName, MemberInfo[] Members, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, BindingFlags LookupFlags, Boolean ReportErrors, ResolutionFailure& Failure) +99 Microsoft.VisualBasic.CompilerServices.NewLateBinding.ResolveCall(Container BaseReference, String MethodName, MemberInfo[] Members, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, BindingFlags LookupFlags, Boolean ReportErrors, ResolutionFailure& Failure) +145 Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack) +594 ASP.it_config_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in C:\Program Files\Lansweeper\website\it-config.aspx:229 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.3615; ASP.NET Version:2.0.50727.3618