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 32: 
Line 33:         Call vbData.LoadCohortNumbers(ddlFilterYear.SelectedValue)
Line 34:         StateAverage = FormatNumber((vbData.CohortCompleteNumber / vbData.CohortNumber) * 100, 0)
Line 35: 
Line 36:         DistrictLegend.ShadeMarker = ShadeMarker

Source File: C:\FAFSAWeb\Data\Controls\DistrictViewControl.ascx.vb    Line: 34

Stack Trace:


[OverflowException: Arithmetic operation resulted in an overflow.]
   Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value) +108
   DistrictViewControl.Page_Load(Object sender, EventArgs e) in C:\FAFSAWeb\Data\Controls\DistrictViewControl.ascx.vb:34
   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