ADO 错误代码列表
413吧
全部回复
仅看楼主
level 6
沙乘民 楼主
2007年07月12日 10点07分 1
level 6
沙乘民 楼主
下表将同时显示十进制和十六进制错误代码值。 adErrInvalidArgument 3001 0x800A0BB9 应用程序使用的参数其类型错误、超出可接受的范围或者与其他参数冲突。 adErrNoCurrentRecord 3021 0x800A0BCD BOF 或 EOF 为 True,或者当前记录已经删除。应用程序请求的操作需要当前记录。 adErrIllegalOperation 3219 0x800A0C93 应用程序请求的操作不允许出现在该上下文中 adErrInTransaction 3246 0x800A0CAE 在事务中应用程序无法显式关闭 Connection 对象。 adErrFeatureNotAvailable 3251 0x800A0CB3 提供者不支持应用程序请求的操作。 adErrItemNotFound 3265 0x800A0CC1 ADO 无法在对应于应用程序请求的名称或顺序引用的集合中找到对象。 adErrObjectInCollection 3367 0x800A0D27 无法追加,对象已经在集合中。 adErrObjectNotSet 3420  0x800A0D5C 应用程序引用的对象不再指向有效的对象。 adErrDataConversion 3421 0x800A0D5D 应用程序使用了不符合对当前操作的值类型。 adErrObjectClosed 3704 0x800A0E78 如果对象关闭,则不允许应用程序请求的操作。 adErrObjectOpen 3705 0x800A0E79 如果对象打开,则不允许应用程序请求的操作。 adErrProviderNotFound 3706 0x800A0E7A ADO 找不到指定的提供者。 adErrBoundToCommand 3707 0x800A0E7B 应用程序无法用 Command 对象将 Recordset 对象的 ActiveConnection 属性更改为它的来源数据。 adErrInvalidParamInfo 3708 0x800A0E7C 应用程序错误地定义了 Parameter 对象。 adErrInvalidConnection 3709 0x800A0E7D 应用程序通过引用关闭或无效的 Connection 对象来请求对对象的操作。 perl.nease.net
2007年07月12日 10点07分 2
level 6
沙乘民 楼主
这段代码的错误怎么校正? <% if request("theid") then conn.execute("delete from nr where cpid="&request("theid")) end if function zxj(str) str=server.htmlencode(str) if instr(str,"<") then str=replace(str,"<","<") end if if instr(str,">") then str=replace(str,">",">") end if if instr(str,chr(13)) then str=replace(str,chr(13),"
") end if if instr(str,chr(34)) then str=replace(str,chr(34),""") end if if instr(str,"&") then str=replace(str,"&","&") end if if instr(str,chr(32)) then str=replace(str,chr(32)," ") end if zxj=str //在调试的时候总提示该项有错 end function %> //略..... //回复Email¦;[email protected]
2007年07月12日 10点07分 3
1