You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.
close
Home > Access It! Universal.NET > Arithmetic Operation Resulted In An Overflow
Arithmetic Operation Resulted In An Overflow
print icon

Module

System.OverflowException: Arithmetic operation resulted in an overflow.
   at RS2Technologies.AccessItUniversal.Service.SCP.MakeActiveDate(CardsRow cardRow)
   at RS2Technologies.AccessItUniversal.Service.SCP.UpdateCardInSCP(CardsRow cardRow)
 Method: SCP.UpdateCardInSCP

Symptoms

Cards are getting an Access Denied - Unknown Card when being presented and the Active Card Count in the SCP Request Status is not updating correctly. This is typically seen in systems where the data was entered outside of our front end (e.x Lenel conversion)

Cause A

The Active/Expire Date is out of the range that is compatible with the SCP.

Resolution A

Adjust all Active and Expire Dates to be between January 1, 1970 and December 31st, 2035.

Cause B

The offset for the Card Format is set to a value that is greater than 2147483647.

Resolution B

  1. Edit the SCP
  2. Select the Card Formats tab
  3. Select the Override card format download (Advanced) checkbox
  4. Find the Offset that is the largest number and change it to 0.
  5. Click Save
  6. Edit the SCP
  7. Select the Card Formats tab
  8. Uncheck the Override card format download (Advanced) checkbox
  9. Click Save

scroll to top icon