The server error listed below is displayed when accessing the student Profile page
Server Error in '/Aeries.Net' Application.
Conversion from type 'DBNull' 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 type 'DBNull' to type 'Date' is not valid.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
[InvalidCastException: Conversion from type 'DBNull' to type 'Date' is not valid.]
Microsoft.VisualBasic.CompilerServices.Conversions.ToDate(Object Value) +376
TST_Functions.GetMostRecentTestResults(Int32 SC, Int64 SN, Int64 ID, Boolean DoAllDistricts, String ConnectionString, String UserName) in D:\a\1\s\Src\AeriesNET\Class_Lib\Tables\Testing\TST_Table.vb:1165
SubForms_subQuickTestScores.Page_Load(Object sender, EventArgs e) in D:\a\1\s\Src\AeriesNET\SubForms\subQuickTestScores.ascx.vb:52
System.Web.UI.Control.OnLoad(EventArgs e) +108
System.Web.UI.Control.LoadRecursive() +90
System.Web.UI.Control.LoadRecursive() +185
System.Web.UI.Control.LoadRecursive() +185
System.Web.UI.Control.LoadRecursive() +185
System.Web.UI.Control.LoadRecursive() +185
System.Web.UI.Control.LoadRecursive() +185
System.Web.UI.Control.LoadRecursive() +185
System.Web.UI.Control.LoadRecursive() +185
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533
|
Cause
A Test record in TST has no Test Date
Resolution
Add a valid Test Date to the record