Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Microsoft POS - How to solve Arithmetic operation resulted in an overflow

0.00/5 (No votes)
22 Oct 2013 2  
Don't panic and stop wasting your time, the solution is here!

Introduction

This article is for those who use a POS peripheral, like "Thermal printer", "Barcode scanner", etc... Even if you will not have some mistakes on Local, you might have the error "Arithmetic operation resulted in an overflow" when you publish to IIS Manager. But don't panic and stop wasting your time, the solution is here!

Using the method

Solve "Arithmetic operation resulted in an overflow"

  1. Open your IIS Manager.
  2. Go in your "Application Pools" section.
  3. Right click on your targeted framework.
  4. Click on "Advanced settings".
  5. Check the "Identity" is on NetworkService.
  6. Then change "Enable 32-bit applications" to true.

Solve - Arithmetic operation resulted in an overflow

Reminder: Publish a Website

  1. Go in your "Sites" section.
  2. Click on "Add Website" button.
  3. Fill all fields (see picture).
  4. We choose "4.5 Framework" but it depends of your targeted framework.

  5. Click on "OK".
  6. Then click on "Browse *:80 (http)" (if you did like the picture).

Reminder - Publish a Website

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here