急求解决:ODBC 驱动程序不支持所需的属性

来源:百度知道 编辑:UC知道 时间:2024/05/17 22:55:34
Microsoft OLE DB Provider for ODBC Drivers 错误 '80040e21'

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

/iframe/gbook.asp,行 176

以下是代码:
<!--#include file="../Conn.asp" -->
<!--#include file="../Inc/Config.asp" -->
<!--#include file="../Inc/Char.asp" -->
<!--#include file="../Inc/md5.asp" -->
<%
'Iframe调用说明
'<iframe Src="" frameborder="0" marginwidth="0" marginheight="0" width="100%" scrolling="no" height="365px"></iframe>
'/精确限制标题长度
'/mystring=标题
'/strNum=限制的长度
Function LimitTitle(mystring,strNum)
Dim strlen,stringcount,fixedstr
If mystring = "" or isnull(mystring) Then
LimitTitle = "标题为空串"
Exit Function
End If
stringcount = 0
strlen = strNum * 2
for position = 1 to l

intUserType = -1
intComposerId = -1
Else
If Trim(Request("userid"))="" Or Trim(Request("pwd"))="" Then
Set objRs = Nothing
Response.Write("<script>alert('对不起!用户名或者密码不能为空!');window.history.back();</script>")
Response.End
End If
strSql="Select Top 1 * From BY_User Where UserName='"&Request("userid")&"' And Locked=0"
objRs.Open strSql,Conn,1,3
If objRs.EOF Then
objRs.Close
Set objRs = Nothing
Response.Write("<script>alert('对不起!不存在该用户或者被锁定!');window.history.back();</script>")
Response.End
End If
pwd = md5(pwd,32)
If pwd<>objRs("By_Pwd") Then
objRs.Close
Set objRs = Nothing
Response.Write("<script>alert('对不起!密码输入错误!');window.history.back();</script&