ASP缺少对象,在线急等~~!请高手帮忙!
Microsoft VBScript 运行时错误 错误 '800a01a8' 缺少对象: ''
/jh/chat/fenpei1.asp,行29
<%@ LANGUAGE=VBScript codepage ="936" %>
<%Response.Buffer=true
Response.CacheControl = "no-cache"
Response.AddHeader "Pragma", "no-cache"
Response.Expires = 0
%>
<HTML>
<HEAD>
<TITLE>我的状态</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<%
axjh_name=Session("axjh_name")
axjh_grade=Session("axjh_grade")
chatimage=Application("axjh_chatimage")
if axjh_name="" then Response.Redirect "error.asp?id=440"
%>
</head>
<body>
<%
wg=Request("wg")
nl=Request("nl")
tl=Request("tl")
gj=Request("gj")
fy=Request("fy")
cont=wg+nl+tl+gj+fy
Set rs=Server.CreateObject("ADODB.RecordSet")
conn.open Application("axjh_usermdb")
rs.open "Select * from 用户 where 姓名='" & axjh_name &"'",conn,3,3
if cont>rs("自由分配点数") Then
rs("自由分配点数")=rs("自由分配点数")-1000
rs.Update
Response.Write("你太贪心了,系统将扣掉你1000点!")
Response.End()
Response.Redirect("fenpei.asp")
else
rs("自由分配点数")=rs("自由分配点数")-cont
rs("武功")=wg
rs("内力")=nl
rs("体力")=tl
rs("攻击")=gj
rs("防御")=fy
rs.Update
End if
%>
</body>
</html>