Loading...

 


The given key was not present in the dictionary.

Server Error in '/' Application.

The given key was not present in the dictionary.

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.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

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:


[KeyNotFoundException: The given key was not present in the dictionary.]
   Microsoft.VisualBasic.CompilerServices.Container.InvokeMethod(Method TargetProcedure, Object[] Arguments, Boolean[] CopyBack, BindingFlags Flags) +498
   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:251
   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