写了一段ASP,出现以下错误,是什么意思
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
</head>
<%strname=request("name")%>
<%straddress=request("address")%>
<%strdate_y=request("date_y")%>
<%strdate_m=request("date_m")%>
<%strdate_d=request("date_d")%>
<%strdate=strdate_y&"-"&strdate_m&"-"&strdate_d%>
<%strusername=request("username")%>
<%strpassword=request("password")%>
<body>
<%
Set conn = Server.CreateObject("ADODB.Connection")
'ConnectionString = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=mm.mdb;DefaultDir=" & Server.MapPath(".") & ";DriverId=25;FIL=MS Access;MaxBufferSize=512;PageTimeout=5"
ConnectionString = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ="&server.MapPath ("mm.mdb")
conn.Open ConnectionString
Response.Write("ConnectionString:"&ConnectionString&"<br>")
Response.Write("Username:"&strusername&"<br>")
Response.Write("Password:"&strpassword&"<br>")
if strusername<>"" and strpassword<>"" then
Set rs = Server.CreateObject("ADODB.Recordset")
SqlStr = "SELECT * FROM user where username='"&strusername&"'"
rs.Open SqlStr,conn,3,3
if rs.recordcount=1 then
response.write "你的用户名已经存在!请换用户名<br>"
response.write "<a href=javascript:window.history.back()>返回</a>"
elseif rs.recordcount=0 then
rs.Close
Sql = "insert into user(name,address,birthday,username,password) values('"&strname&"','"&straddress&"','"&strdate&"','"&strusername&"','"&strpassword&"')"
Response.Write sql
conn.Execute (sql)
response.write "已成功录入!!"
end if
end if
%>
</body>
</html>
以下是错误信息:我哪里少了End?
Microsoft VBScript 编译器错误 错误 '800a03f6'
缺少 'End'
/iisHelp/common/500-100.asp,行242
Microsoft OLE DB Provider for ODBC Drivers 错误 '80004005'
[Microsoft][ODBC Microsoft Access Driver] 操作必须使用一个可更新的查询。
/HuaChun/addnew.asp,行38