Server Error in '/' Application.

Conversion from string "44:43:00" to type 'Date' is not valid.

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.InvalidCastException: Conversion from string "44:43:00" to type 'Date' is not valid.

Source Error:


Line 404:            Dim occurCount As Integer = Len(participant_gun_time) - Len(tempstr)
Line 405:            If occurCount = 2 Then
Line 406:                participant_hours = Hour(participant_gun_time)
Line 407:                participant_minutes = Minute(participant_gun_time)
Line 408:                participant_seconds = Second(participant_gun_time)

Source File: E:\kunden\homepages\13\d396785293\www\novatimingsystems\personal_results.aspx.vb    Line: 406

Stack Trace:


[InvalidCastException: Conversion from string "44:43:00" to type 'Date' is not valid.]
   Microsoft.VisualBasic.CompilerServices.Conversions.ToDate(String Value) +1307729
   Microsoft.VisualBasic.CompilerServices.Conversions.ToDate(Object Value) +173
   novatimingsystem_personal_results.Page_Load(Object sender, EventArgs e) in E:\kunden\homepages\13\d396785293\www\novatimingsystems\personal_results.aspx.vb:406
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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