HTTP 错误 500.100 - 内部服务器错误 - ASP 错误 Internet 信息服务
技术信息(用于支持人员)
- 错误类型: Microsoft OLE DB Provider for ODBC Drivers (0x80040E21) ODBC 驱动程序不支持所需的属性。
技术信息(用于支持人员)
<html>
<head> <meta http-equiv="Content-Language" content="zh-cn"> <meta name="GENERATOR" content="Microsoft FrontPage 6.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>登陆</title> </head>
<body>
<p>
<% set objconn=server.createobject("adodb.connection") objconn.open "driver={microsoft access driver (*.mdb)};dbq="&server.mappath("login.mdb") set rs=server.createobject("adodb.recordset") dim userid dim password dim sql userid=request("userid") password=request("password") sql="select userid,password,power from user where password='"&password&"' and user='"&user&"'" rs.open sql,objconn,1,1 if not rs.eof then select case rs("power") case superadmin response.redirect "select2.htm" case admin response.redirect "select1.htm" case else response.redirect "select.htm" end select end if %> </p>
</body>
</html>