标题:ASP强人、版主进(很着急)
取消只看楼主
yslovezf
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2008-6-4
 问题点数:0 回复次数:1 
ASP强人、版主进(很着急)
错误类型:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC 驱动程序管理器] 未发现数据源名称并且未指定默认驱动程序
/a/include/cod_ado.inc, 第 4 行
COD_ADO.INC源代码是
<%
sub cod_AdoOpen(objConnection,rsCoursesList,dsn,rss)
    Set objConnection = Server.CreateObject("ADODB.Connection")
    objConnection.Open dsn
    Set rsCoursesList = Server.CreateObject("ADODB.Recordset")
    rsCoursesList.ActiveConnection =objConnection    
    rsCoursesList.CursorLocation =adUseClient
    rsCoursesList.CursorType =adOpenForwardOnly
    rsCoursesList.LockType =adLockReadOnly
    rsCoursesList.Source =rss
    rsCoursesList.Open
end sub
sub cod_AdoClose(objConnection, rsCoursesList)
    rsCoursesList.close
    objConnection.close
    set rsCoursesList = nothing
    set objConnection = nothing
end sub
%>有请各位高手帮忙解决,谢谢
搜索更多相关主题的帖子: 源代码 强人 Microsoft ASP 版主 
2008-06-04 08:56
yslovezf
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2008-6-4
得分:0 
谢谢斑竹,我再试试
2008-06-04 11:54



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-217526-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.053302 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved