Hello,
I was trying to get the Computer model overview when I realized this single overview was not working.
It's the only one all others are functionnal.
I'd love being able to fix this error. (I found the information somewhere else by editing a report in the report builder, so it's no hurry, but of course I want it fixed sooner or later).
Thank you.
Service status
Database schema: 16
Website version: 4025
Lansweeper version : 4.2.0.48
Here is the error message :
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:
The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
<%@ Page Language="C#" Debug="true" %>
or:
2) Add the following section to the configuration file of your application:
<configuration>
<system.web>
<compilation debug="true"/>
</system.web>
</configuration>
Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.
Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.
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) +759606
Microsoft.VisualBasic.CompilerServices.OverloadResolution.ResolveOverloadedCall(String MethodName, MemberInfo[] Members, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, BindingFlags LookupFlags, Boolean ReportErrors, ResolutionFailure& Failure) +370
Microsoft.VisualBasic.CompilerServices.NewLateBinding.ResolveCall(Container BaseReference, String MethodName, MemberInfo[] Members, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, BindingFlags LookupFlags, Boolean ReportErrors, ResolutionFailure& Failure) +499
Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack) +696436
ASP.it_compmodel_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) +1023
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +115
System.Web.UI.Page.Render(HtmlTextWriter writer) +38
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4240
________________________________________
Version Information: Microsoft .NET Framework Version:2.0.50727.5448; ASP.NET Version:2.0.50727.5420