simple arithmetic overflow

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • handysusanto
    New Member
    • Jun 2006
    • 2

    simple arithmetic overflow

    Hi i hv a win2003 server running ASP. it was running fine, till few days back where i keep getting this error:

    Microsoft VBScript runtime error '800a0006'
    Overflow

    I then created a simple asp code which is:
    <%@ Language=VBScri pt%>
    <%
    option explicit

    dim a,b,c,d

    a = 1
    b = 1
    c = 1

    d = a * b / c
    response.write d
    %>

    after refreshing it for a few 100+ times, i got the overflow error which is on the line (d = a * b / c)!!!

    My Others win2003 server doesnt have this error.

    so, should i restart the server? or need to change the iis settings... pls help
  • handysusanto
    New Member
    • Jun 2006
    • 2

    #2
    bump......
    restarting the server doesnt help much as it is only fine for few hours. After that the 'overflow' error starts to appear again.

    In the end, i reformated the server (updated the latest patches) and it was working fine for few months. But now, it appears again :(

    Anyone encounter this before?

    Comment

    Working...