奇怪的问题!进来看看!真的要疯了!
这个是INDEX。ASP文件,也是首页文件!
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="Connections/conn.asp" -->
<%
Dim rs
Dim rs_numRows
Set rs = Server.CreateObject("ADODB.Recordset")
rs.ActiveConnection = MM_conn_STRING
rs.Source = "SELECT Content, Date, E-mail, Homepage, ICON, IP, Name,
QQ, RDate, Reply FROM main ORDER BY Date Desc"
rs.CursorType = 0
rs.CursorLocation = 2
rs.LockType = 1
rs.Open()
rs_numRows = 0
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style type="text/css">
<!--
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: none;
}
a:active {
text-decoration: none;
}
-->
</style>
<link href="css.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table width="650" border="1" bordercolor="#666666"align="center"
class="thin">
<tr>
<td height="35" align="center">我的留言本</td>
</tr>
<tr>
<td height="20" align="right"><a href="insert.asp">『留言』</a><a
href="index.asp">『查看』</a><a href="login.asp">『管理』</a> </td>
</tr>
<tr>
<td><table width="100%%" border="1"
bordercolor="#666666"class="thin" frame="void">
<tr>
<td width="64" valign="top"><table width="100%" border="1">
<tr>
<td width="70" align="center"> </td>
</tr>
<tr>
<td width="70" align="center">访客你称</td>
</tr>
</table></td>
<td width="650"><table width="100%" border="1"
bordercolor="#666666"cellspacing="0" cellpadding="0" class="thin"
frame="void">
<tr>
<td width="650" height="20"
align="left">房客发表于2003</td>
</tr>
<tr>
<td><table width="100%%" border="0"
boredrcolor="#666666"cellspacing="0" cellpadding="0" class="thin"
frame="void">
<tr>
<td width="45" align="left">留言:</td>
<td>留言内容</td>
</tr>
<tr>
<td width="45" align="left">回复:</td>
<td>回复内容</td>
</tr>
</table></td>
</tr>
<tr>
<td height="20" align="right">主页 信箱 QQ</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="20" align="right">首页 上页 下页 尾页 </td>
</tr>
<tr>
<td height="20" align="center">版权所有©今生穷死了</td>
</tr>
</table>
</body>
</html>
<%
rs.Close()
Set rs = Nothing
%>
======================================================================
这个是CONN。ASP文件,!大家看看,就这两个文件有关啦!
<%
Dim db,conn,MM_conn_STRING
db="data.mdb"
Set conn = Server.CreateObject("ADODB.Connection")
MM_conn_STRING="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath(db)
'MM_conn_STRING="Driver={microsoft access driver (*.mdb)};DBQ=" & Server.MapPath(db)
'MM_conn_STRING="dsn=member;"
conn.open MM_conn_STRING
%>
运行INDEX。ASP的时候老出现
Microsoft VBScript 编译器错误 错误 '800a03f6'
缺少 'End'
/iisHelp/common/500-100.asp,行242
Microsoft JET Database Engine 错误 '80040e10'
至少一个参数没有被指定值。
/guestbook/index.asp,行13