Microsoft OLE DB Provider for ODBC Drivers '80040e21'

来源:百度知道 编辑:UC知道 时间:2024/06/09 00:38:02
Microsoft OLE DB Provider for ODBC Drivers '80040e21'

ODBC 驱动程序不支持所需的属性。

\www\reg.asp, line 19

下面是我该文件的内容:

<!--#include file = "conn.asp"-->
<!--#include file = "md5.asp"-->
<%
LOGINID = trim(request("LOGINID"))
password = trim(request("password"))
confirm_password = trim(request("confirm_password"))

if (password <> confirm_password) then
response.write "两次输入的密码不一致!"
response.end
end if

password=md5(password)
password=mid(password,"9","16")

set rs=server.CreateObject("adodb.recordset")
strsql="select * from USER where username='"&trim(LOGINID)&"'"
rs.open strsql,conn,3,3
if not rs.eof then
response.write"注册失败!"
response.write"您输入的用户名已经存在,请重新输入!<a href=javascript:his

"Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Microsoft Access Driver] 不能使用 '(未知)';文件已在使用中。/mysite/look/ch17/default.asp, 第 8 行" 遇到这种情况解决方法是,右击数据库文件,在安全选项卡里面把所有用户权限都改成完全控制,然后保存.把dw关掉,重新开启, 搞定!