Server Error in '/' Application.

Conversion from type 'DBNull' to type 'String' 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 type 'DBNull' to type 'String' is not valid.

Source Error:


Line 93: 
Line 94:                     For Each r In mainTBl.Rows
Line 95:                         r("dateVal") = Master.getDate(r("rightStr"))
Line 96:                     Next
Line 97: 

Source File: D:\InetPub\vhosts\trufenix-1912.package\fightabase.com\wwwroot\seriesMain.aspx    Line: 95

Stack Trace:


[InvalidCastException: Conversion from type 'DBNull' to type 'String' is not valid.]
   Microsoft.VisualBasic.CompilerServices.Conversions.ToString(Object Value) +1184
   ASP.seriesmain_aspx.page_load() in D:\InetPub\vhosts\trufenix-1912.package\fightabase.com\wwwroot\seriesMain.aspx:95
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +154
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4082


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