Click here to Skip to main content
15,890,123 members
Articles / Web Development / IIS
Tip/Trick

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

Rate me:
Please Sign up or sign in to vote.
4.88/5 (5 votes)
22 Oct 2013CPOL 34.5K   3   1
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, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer aoDevTeam
France (Metropolitan) France (Metropolitan)
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
PraiseHow to solve "Arithmetic operation resulted in an overflow Pin
Member 126715092-Mar-17 0:42
Member 126715092-Mar-17 0:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.