家政服务关键词:求助高手ASP出现错误问题!!!

来源:百度文库 编辑:高校问答 时间:2024/04/28 14:50:16
我的网站打开出现以下错误提示:
Microsoft OLE DB Provider for ODBC Drivers 错误 '80004005'

[Microsoft][ODBC Microsoft Access Driver] 所有记录中均未找到搜索关键字。

/include/jk_class.asp,行 15
请教高手指点问题在什么地方?
<%

const dim_11_len=50
const dim_12_len=50

class class_joekoe_cms
public web_name,web_url,web_email,web_urls,web_dir,web_cookies,web_skin,web_dir_skin,web_upload,web_unit,web_health,web_tit,now_time,today_time,timer_start,pro_edition,num_rs,connstr
public js_tim,js_mod,isconn,ishealth

function exec(esql,etype)
if isconn=false then call conn_open()
'response.write vbcrlf&"//<br>"&esql
select case etype
case 0
conn.execute(esql)
case 1
set exec=conn.execute(esql)
end select
num_rs=num_rs+1
end function

sub conn_open()
set conn=server.createobject("adodb.connection")
set rs=server.createobject("adodb.recordset")
conn.open connstr
isconn=true
end sub

把代码贴出来才好找原因阿:)

你sql 用的表名或列名 拼写错了 而已

看看源代码不就知道了吗?
贴出来吧!