No clue.. Overflow, Microsoft VBScript runtime error '800a0006'

15,484

Solution 1

Microsoft VBScript runtime error '800a0006' almost always indicates a divide by zero error.

Solution 2

You can reproduce the Overflow error like this :

Dim testVar
testVar = 99999
testVar = CInt(testVar)

So, maybe this indicates there are some problems with the data types where you are setting some variables on that file?

Solution 3

Can you figure out where in the file the error is happening? You can use

Response.Write "here" Response.End

And then load the page to see what point it gets to. Then you can post the code that is crashing and we may be able to help you more.

Solution 4

You may have a function with Out of Range variable If you used integer variable and the variable posses greater than integer range then its shows error.

Explanation:

Dim IntVar AS Integer
IntVar = 50000

Then it must show overflow error

So you can use following code instead of given code

Dim LongVar As Long
longVar = 50000
Share:
15,484
Mago Maverick
Author by

Mago Maverick

Software dude powered by challenge, complexity, ideas & collaboration.

Updated on June 05, 2022

Comments

  • Mago Maverick
    Mago Maverick almost 2 years

    I'm receiving suddenly this error on a Win2003 Server Web Application:

    Microsoft VBScript runtime error '800a0006'

    Overflow: 'Appname'

    A bunch of updates where performed on this server but I have rolled them back all.

    The page is old ASP code and if i run file monitor utility it will show the BUFFER OVERFLOW when it hits a GIF.

    Any ideas?

  • Patonza
    Patonza about 13 years
    "almost" indicates "not always"
  • Randolpho
    Randolpho about 13 years
    @Patonza would you prefer "<some number I made up>% of the time"?
  • Patonza
    Patonza almost 13 years
    no thanks :) There are plenty of other cases leading to Overflow in vbscript and your answer relegated them into the "almost never" zone. That doesn't sound good to me but I could be just wrong on this.
  • Patonza
    Patonza almost 13 years
    obviously, you are making fun of my remark here. But your answer is still useless in most cases, now it's just more confusing ;)
  • Randolpho
    Randolpho almost 13 years
    Confusing yes, but useless? No way.
  • curiousBoy
    curiousBoy over 10 years
    @Randolpho : Almost %100 agreed with you!
  • Paul
    Paul about 8 years
    @Patonza "most" indicates "not always"