Server Error in '/' Application.

Arithmetic overflow occurred.
Arithmetic overflow error converting IDENTITY to data type int.

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.Data.OleDb.OleDbException: Arithmetic overflow occurred.
Arithmetic overflow error converting IDENTITY to data type int.

Source Error:


Line 553:
Line 554:        End If
Line 555:        dr = cmd.ExecuteReader()
Line 556:
Line 557:        While dr.Read()

Source File: D:\Web\Web\GharExpert\Web\GharExpert\Home\Show_Multiple_Images_Control.aspx.vb    Line: 555

Stack Trace:


[OleDbException (0x80040e57): Arithmetic overflow occurred.
Arithmetic overflow error converting IDENTITY to data type int.]
   System.Data.OleDb.OleDbDataReader.ProcessResults(OleDbHResult hr) +1601192
   System.Data.OleDb.OleDbDataReader.NextResult() +456
   System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) +319
   System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior) +143
   Home_Show_Multiple_Images_CTRL.Page_Load(Object sender, EventArgs e) in D:\Web\Web\GharExpert\Web\GharExpert\Home\Show_Multiple_Images_Control.aspx.vb:555
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


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