成都来福士t5:Microsoft VBScript 运行时错误 错误 '800a000d' 怎么办?

来源:百度文库 编辑:神马品牌网 时间:2024/05/07 06:30:56
网页显示: Microsoft VBScript 运行时错误 错误 '800a000d'

类型不匹配: 'ReplaceBadChar'

/chaxun/resaultc.asp,行10

希望高手能给解决一下~~~
以下是部分源文件:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!-- #include file="conn.asp" -->
<%
dim l,sql,rs,i,page,rowcount
l=request("l")
if l="" then
response.Redirect("find.asp")
end if
if l<>"" then
l=ReplaceBadChar(l)
end if
page=request("page")
if isempty(page) then
page=1
end if
sql="select ID,linenum,ftime,ltime,kongtiao,yuepiao from content where linenum LIKE '%%" & l & "%%'"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
if rs.RecordCount<1 then
response.write "对不起!数据库中暂时未收录您所查找的信息。"
response.write "<a href='index.asp'>返回查询页面...</a>"
else
%>

内存条的问题,去更换吧!