Server Error in '/' Application.

Arithmetic operation resulted in an overflow.

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.OverflowException: Arithmetic operation resulted in an overflow.

Source Error:


Line 17:         End If
Line 18:         Call vbData.LoadCohortNumbers(YearDropDown.SelectedValue)
Line 19:         StateAverage = FormatNumber((vbData.CohortCompleteNumber / vbData.CohortNumber) * 100, 0)
Line 20: 
Line 21:         SchoolGridLegend.ShadeMarker = ShadeMarker

Source File: C:\FAFSAWeb\Data\Controls\SchoolTop10Control.ascx.vb    Line: 19

Stack Trace:


[OverflowException: Arithmetic operation resulted in an overflow.]
   Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value) +108
   SchoolTop10Control.Page_Load(Object sender, EventArgs e) in C:\FAFSAWeb\Data\Controls\SchoolTop10Control.ascx.vb:19
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


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