毫无头绪..溢出,Microsoft VBScript运行时错误'800a0006'

时间:2020-12-19 02:06:19

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

我在Win2003服务器Web应用程序上突然收到此错误:

Microsoft VBScript runtime error '800a0006'

Microsoft VBScript运行时错误“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.

该页面是旧的ASP代码,如果我运行文件监视器实用程序,它将显示BUFFER OVERFLOW当它命中一个GIF。

Any ideas?

4 个解决方案

#1


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

Microsoft VBScript运行时错误“800a0006”几乎总是表示除以零错误。

#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?

那么,也许这表明您在该文件上设置一些变量的数据类型存在一些问题?

#3


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

#4


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

你能弄清楚错误发生在文件的哪个位置吗?您可以使用

Response.Write "here" Response.End

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.

然后加载页面以查看它到达了什么点。然后你可以发布崩溃的代码,我们可以帮助你更多。

#1


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

Microsoft VBScript运行时错误“800a0006”几乎总是表示除以零错误。

#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?

那么,也许这表明您在该文件上设置一些变量的数据类型存在一些问题?

#3


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

#4


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

你能弄清楚错误发生在文件的哪个位置吗?您可以使用

Response.Write "here" Response.End

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.

然后加载页面以查看它到达了什么点。然后你可以发布崩溃的代码,我们可以帮助你更多。