2023年11月30日发(作者:)oftVBScript(0x800A041F)→错误的 'Next'
x0c 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=Object("set")可以定义对象,或 直接用e("SQL")也方便得多,且不用考虑对象问题。 MicrosoftVBScript 运行时错误(0x800A01AD)→ActiveX部件不能创建对象 MicrosoftVBScript 运行时错误(0x800A01AE)→类不能支持 AutoMation 操作 MicrosoftVBScript 运行时错误(0x800A01B0)→AutoMation操作中文件名或类名未找 到 MicrosoftVBScript 运行时错误(0x800A01B6)→对象不支持此属性或方*
x0c MicrosoftVBScript 运行时错误(0x800A01B8)→AutoMation操作错误 MicrosoftVBScript 运行时错误(0x800A01BD)→对象不支持此操作 MicrosoftVBScript 运行时错误(0x800A01BE)→对象不支持已命名参数 MicrosoftVBScript 运行时错误(0x800A01BF)→对象不支持当前区域设置 MicrosoftVBScript 运行时错误(0x800A01C0)→未找到已命名参数 MicrosoftVBScript 运行时错误(0x800A01C1)→参数是必选项 MicrosoftVBScript 运行时错误(0x800A01C2)→错误的参数个数或无效的参数属性值 MicrosoftVBScript 运行时错误(0x800A01C3)→对象不是一个集合 MicrosoftVBScript 运行时错误(0x800A01C5)→未找到指定的 DLL 函数 MicrosoftVBScript 运行时错误(0x800A01C7)→代码资源锁定错误 MicrosoftVBScript 运行时错误(0x800A01CA)→变量使用了一个VBScript中不支持的 AutoMation类型 MicrosoftVBScript 运行时错误(0x800A01CE)→远程服务器不存在或不可用 MicrosoftVBScript 运行时错误(0x800A01E1)→无效图片 MicrosoftVBScript 运行时错误(0x800A01F4)→变量未定义 MicrosoftVBScript 运行时错误(0x800A01F5)→非*赋值 MicrosoftVBScript 运行时错误(0x800A01F6)→对象不能安全地使用 Script 编程 MicrosoftVBScript 运行时错误(0x800A01F7)→对象不能安全初始化 MicrosoftVBScript 运行时错误(0x800A01F8)→对象不能安全创建 MicrosoftVBScript 运行时错误(0x800A01F9)→无效的或无资格的引用 MicrosoftVBScript 运行时错误(0x800A01FA)→类没有被定义 MicrosoftVBScript 运行时错误(0x800A01FB)→出现一个意外错误 MicrosoftVBScript 运行时错误(0x800A1398)→缺少常规表达式对象 MicrosoftVBScript 运行时错误(0x800A1399)→常规表达式 MicrosoftVBScript 运行时错误(0x800A139A)→错误的数量词 MicrosoftVBScript 运行时错误(0x800A139B)→常规表达式中缺少 ']' MicrosoftVBScript 运行时错误(0x800A139C)→常规表达式中缺少 ')' MicrosoftVBS
cript 运行时错误(0x800A139D)→字符集越界 MicrosoftVBScript 运行时错误(0x800A802B)→未找到元素 MicrosoftOLEDBProviderforODBCDrivers(0x80040E14)→sql语句出错(字段名错误, 或数据类型不匹配) MicrosoftOLEDBProviderforODBCDrivers(0x80040E07)→sql语句出错(要插入或更新 的字段的类型与变量数据类型不匹配) [解决] 试一试把SQL中变量加了''的去掉单引号,或者把原先认为是数字的加上'', 再查看效果。 MicrosoftOLEDBProviderforODBCDrivers(0x80040E57)→sql语句出错(要插入或更新 的数据溢出) MicrosoftOLEDBProviderforODBCDrivers(0x80040E10)→sql语句出错(update字段名 或要更新的数据类型错误) [解决] 检查每一个参数的值是否真的传递过来了,很可能有些参数是"",没有被赋 值。 MicrosoftOLEDBProviderforODBCDrivers(0x80004005)→操作必须使用一个可更新的 查询 [原因] 在XP服务器上非常常见,属于服务器的配置问题,或者说是用户的权限问 题。 [解决] 如果仅仅是在本机上调试出现的错误,则右键点击网站所在的文件夹,点击 “共享和安全…”,在“安全”中点“添加…”写入everyone,然后再使这个用户的权限 为所有。 MicrosoftOLEDBProviderforODBCDrivers(0x80040E37)→没有发现表 [解决] 检查数据库表名或数据库连接 ODBCDrivers(0x80040E21)→sql语句出错(数据类型不匹配或表/字段错误或处于编辑
x0c状态,或不存在于conn打开的数据库中) set(0x800A0BB9)→sql语句出错(sql语句或conn语句未定义或对一个rs 属性进行赋值时发生错误) set(0x800A0CC1)→rs对像出错(rs对像本身不存在或错误地引用了一个 不存在的字段名) [解决] 首先看数据库中是否有所需名称,也就是程序所要读取的字段名称;如果 有,再看sql语句select中包含不包含要读取的字段名称。 set(0x800A0BCD)→rs对像出错(记录集中没有记录却对记录集进行操 作) [原因] BOF或EOF中有一个是“真”,或者当前的记录已被删除,所需的操作要求一 个当前的记录,也就是在利用SQL查找数据库的记录时,查找结果为空,而且你没有对空 记录的情况做出处理。 [解决] 如果你不相信查找结果为空,那你应该考虑你的SQL语句是否正确;如果确实 有空的情况,那你应该添加n或者之类的语句,对eof的情 况进行处理。 set(0x800A0E78)→rs对像出错(记录集不存在,缺少语句) set(0x800A0CC1)→rs对像出错(引用了一个不存在的字段名) set(0x800A0E7D)→conn定义错误 set(0x800A0CB3)→数据库以只读方式打开,无法更新数据
x0c


发布评论