ASP错误代码及原因一览表

  • 格式:doc
  • 大小:26.50 KB
  • 文档页数:4

ASP错误代码及原因一览表.txt第一次笑是因为遇见你,第一次哭是因为你不在,第一次笑着流泪是因为不能拥有你。 MicrosoftVBScript(0x800A03E9)→内存不足

MicrosoftVBScript(0x800A03EA)→语句格式错误(只有else,缺少If或EndIf)

MicrosoftVBScript(0x800A03EB)→缺少 ':'

MicrosoftVBScript(0x800A03ED)→缺少 '('

MicrosoftVBScript(0x800A03EE)→缺少 ')'

MicrosoftVBScript(0x800A03EF)→缺少 ']'

MicrosoftVBScript(0x800A03F2)→缺少标识符

MicrosoftVBScript(0x800A03F3)→缺少 '='

MicrosoftVBScript(0x800A03F4)→缺少 'If'

MicrosoftVBScript(0x800A03F5)→缺少 'To'

MicrosoftVBScript(0x800A03F6)→缺少 'End'

MicrosoftVBScript(0x800A03F7)→缺少 'Function'

MicrosoftVBScript(0x800A03F8)→缺少 'Sub'

MicrosoftVBScript(0x800A03F9)→缺少 'Then'

MicrosoftVBScript(0x800A03FA)→缺少 'Wend'

MicrosoftVBScript(0x800A03FB)→缺少 'Loop'

MicrosoftVBScript(0x800A03FC)→缺少 'Next'

MicrosoftVBScript(0x800A03FD)→缺少 'Case'

MicrosoftVBScript(0x800A03FE)→缺少 'Select'

MicrosoftVBScript(0x800A03FF)→缺少表达式

MicrosoftVBScript(0x800A0400)→缺少语句

MicrosoftVBScript(0x800A0401)→语句未结束(缺少EndIf或Endselect)

MicrosoftVBScript(0x800A0402)→缺少整型常数

MicrosoftVBScript(0x800A0403)→缺少 'While' 或 'Until'

MicrosoftVBScript(0x800A0404)→缺少 'While', 'Until' 或语句未结束

MicrosoftVBScript(0x800A0405)→缺少 'With'

MicrosoftVBScript(0x800A0406)→标识符过长

MicrosoftVBScript(0x800A0407)→无效数字

MicrosoftVBScript(0x800A0408)→无效字符

MicrosoftVBScript(0x800A0409)→未结束的字符串常量

MicrosoftVBScript(0x800A040A)→注释未结束

MicrosoftVBScript(0x800A040D)→无效使用 ' Me' 关键字

MicrosoftVBScript(0x800A040E)→'loop' 语句缺少 'do'

MicrosoftVBScript(0x800A040F)→无效的 'exit' 语句

MicrosoftVBScript(0x800A0410)→循环控制变量 'for' 无效

MicrosoftVBScript(0x800A0411)→名称重定义

MicrosoftVBScript(0x800A0412)→必须是行中的第一个语句

MicrosoftVBScript(0x800A0413)→不能为 non-ByVal 参数赋值

MicrosoftVBScript(0x800A0414)→调用子程序时不能使用括号

MicrosoftVBScript(0x800A0415)→缺少文字常数

MicrosoftVBScript(0x800A0416)→缺少 'In'

MicrosoftVBScript(0x800A0417)→缺少 'Class'

MicrosoftVBScript(0x800A0418)→必须在一个类的内部定义 MicrosoftVBScript(0x800A0419)→在属性声明中缺少 Let , Set 或 Get

MicrosoftVBScript(0x800A041A)→缺少 'Property'

MicrosoftVBScript(0x800A041B)→在所有属性的规范中,变量的数目必须一致

MicrosoftVBScript(0x800A041C)→在一个类中不允许有多个缺省的属性/方*

MicrosoftVBScript(0x800A041D)→类的初始化或终止程序没有参数

MicrosoftVBScript(0x800A041E)→属性的 set 或 let 必须至少有一个参数

MicrosoftVBScript(0x800A041F)→错误的 'Next'

MicrosoftVBScript(0x800A0420)→'Default' 只能在 'Property' , 'Function' 或

'Sub' 中指定

MicrosoftVBScript(0x800A0421)→指定 'Default' 时必须同时指定 'Public' ")

MicrosoftVBScript(0x800A0422)→只能在 Property Get 中指定 'Default'

MicrosoftVBScript 运行时错误(0x800A0005)→无效的过程调用或参数

MicrosoftVBScript 运行时错误(0x800A0006)→溢出

MicrosoftVBScript 运行时错误(0x800A0007)→内存不足

MicrosoftVBScript 运行时错误(0x800A0009)→下标越界

MicrosoftVBScript 运行时错误(0x800A000A)→该数组为定长的或临时被锁定

MicrosoftVBScript 运行时错误(0x800A000B)→被零除

MicrosoftVBScript 运行时错误(0x800A000D)→类型不匹配(如字符串型当数字或者其他类型使用)

[解决] 如需要数字的变量用来计算i=i+1等数学运算,那么应该在变量上使用cint(变量名),强制转换为数字型,两个变量之间作比较也一定要是相同的类型,因此也需要转换。

MicrosoftVBScript 运行时错误(0x800A000E)→字符串空间不够

MicrosoftVBScript 运行时错误(0x800A0011)→不能执行所需的操作

MicrosoftVBScript 运行时错误(0x800A001C)→堆栈溢出

MicrosoftVBScript 运行时错误(0x800A0023)→未定义过程或函数

MicrosoftVBScript 运行时错误(0x800A0030)→加载 DLL 时出错

MicrosoftVBScript 运行时错误(0x800A0033)→内部错误

MicrosoftVBScript 运行时错误(0x800A0034)→错误的文件名或号码

MicrosoftVBScript 运行时错误(0x800A0035)→文件未找到

MicrosoftVBScript 运行时错误(0x800A0036)→错误的文件模式

MicrosoftVBScript 运行时错误(0x800A0037)→文件已经打开

MicrosoftVBScript 运行时错误(0x800A0039)→设备 I/O 错误

MicrosoftVBScript 运行时错误(0x800A003A)→文件已存在

MicrosoftVBScript 运行时错误(0x800A003D)→磁盘已满

MicrosoftVBScript 运行时错误(0x800A003E)→输入超出了文件尾

MicrosoftVBScript 运行时错误(0x800A0043)→文件过多

MicrosoftVBScript 运行时错误(0x800A0044)→设备不可用

MicrosoftVBScript 运行时错误(0x800A0046)→没有权限

MicrosoftVBScript 运行时错误(0x800A0047)→磁盘没有准备好

MicrosoftVBScript 运行时错误(0x800A004A)→重命名时不能带有其他驱动器符号

MicrosoftVBScript 运行时错误(0x800A004B)→路径/文件访问错误

MicrosoftVBScript 运行时错误(0x800A004C)→路径未找到

MicrosoftVBScript 运行时错误(0x800A005B)→对象变量未设置

MicrosoftVBScript 运行时错误(0x800A005C)→For 循环未初始化 MicrosoftVBScript 运行时错误(0x800A005E)→无效使用Null:'Replace'

[解决] 无效使用函数的情况,比较多见,包括Split等。道理比较简单,就是因为你Replace的内容是空的,所以最好加一句IF检验一下你要replace的内容是否为空。

MicrosoftVBScript 运行时错误(0x800A0142)→不能创建所需的临时文件

MicrosoftVBScript 运行时错误(0x800A01A8)→缺少对象(很有可能是没有对rs对象进行定义)

[解决] 这样写setrs=server.CreateObject("adodb.recordset")可以定义对象,或直接用conn.execute("SQL")也方便得多,且不用考虑对象问题。

MicrosoftVBScript 运行时错误(0x800A01AD)→ActiveX部件不能创建对象

MicrosoftVBScript 运行时错误(0x800A01AE)→类不能支持 AutoMation 操作

MicrosoftVBScript 运行时错误(0x800A01B0)→AutoMation操作中文件名或类名未找到

MicrosoftVBScript 运行时错误(0x800A01B6)→对象不支持此属性或方*