Loading...

 


Input string was not in a correct format.

Server Error in '/' Application.

Input string was not in a correct format.

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.FormatException: Input string was not in a correct format.

Source Error:


Line 40:     Function printPlayerWithLink(objie As Object) As String
Line 41:         If objie Is Nothing Then Return ""
Line 42:         If objie("name") = "Access Denied" Or objie("name") = "" Then
Line 43:             objie("name") = CRM.executeScalar("select name from players with(nolock) where id='" & objie("id").ToString & "'")
Line 44:         End If

Source File: C:\www\cricketdata.org\httpdocs\cricket-data-formats\matches.aspx    Line: 42

Stack Trace:


[FormatException: Input string was not in a correct format.]
   Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat) +302
   Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value) +98

[InvalidCastException: Conversion from string "name" to type 'Integer' is not valid.]
   Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value) +299
   Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(Object Value) +1476
   Microsoft.VisualBasic.CompilerServices.Conversions.ChangeIntrinsicType(Object Expression, Type TargetType) +221
   Microsoft.VisualBasic.CompilerServices.Conversions.ChangeType(Object Expression, Type TargetType, Boolean Dynamic) +241
   Microsoft.VisualBasic.CompilerServices.OverloadResolution.PassToParameter(Object Argument, ParameterInfo Parameter, Type ParameterType) +234
   Microsoft.VisualBasic.CompilerServices.OverloadResolution.MatchArguments(Method TargetProcedure, Object[] Arguments, Object[] MatchedArguments) +142
   Microsoft.VisualBasic.CompilerServices.NewLateBinding.ConstructCallArguments(Method TargetProcedure, Object[] Arguments, BindingFlags LookupFlags) +224
   Microsoft.VisualBasic.CompilerServices.Container.InvokeMethod(Method TargetProcedure, Object[] Arguments, Boolean[] CopyBack, BindingFlags Flags) +78
   Microsoft.VisualBasic.CompilerServices.NewLateBinding.CallMethod(Container BaseReference, String MethodName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, BindingFlags InvocationFlags, Boolean ReportErrors, ResolutionFailure& Failure) +314
   Microsoft.VisualBasic.CompilerServices.NewLateBinding.InternalLateIndexGet(Object Instance, Object[] Arguments, String[] ArgumentNames, Boolean ReportErrors, ResolutionFailure& Failure, Boolean[] CopyBack) +329
   Microsoft.VisualBasic.CompilerServices.NewLateBinding.ObjectLateInvokeDefault(Object Instance, Object[] Arguments, String[] ArgumentNames, Boolean ReportErrors, Boolean[] CopyBack) +126
   Microsoft.VisualBasic.CompilerServices.NewLateBinding.InternalLateInvokeDefault(Object Instance, Object[] Arguments, String[] ArgumentNames, Boolean ReportErrors, Boolean[] CopyBack) +99
   Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateIndexGet(Object Instance, Object[] Arguments, String[] ArgumentNames) +23
   ASP.cricket_data_formats_matches_aspx.printPlayerWithLink(Object objie) in C:\www\cricketdata.org\httpdocs\cricket-data-formats\matches.aspx:42
   ASP.cricket_data_formats_matches_aspx.__Render__control2(HtmlTextWriter __w, Control parameterContainer) in C:\www\cricketdata.org\httpdocs\cricket-data-formats\matches.aspx:254
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +117
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +132
   ASP.cricket_data_formats_formats_master.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in C:\www\cricketdata.org\httpdocs\cricket-data-formats\Formats.master:172
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +117
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +132
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +271
   System.Web.UI.Page.Render(HtmlTextWriter writer) +39
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +132
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +9490


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4110.0