求解答错误Microsoft OLE DB Provider for odbc是什么 Drivers 错误 '80040e21' odbc是什么 驱动程序不支持所需的属性。

Microsoft OLE DB Provider for ODBC Drivers 错误 (整合)(1) 我的学习网
贵 州 学 习 网
误提示:microsoft vbscript 编译器错误 错误 '800a03f6' 缺少 'end' /help/common/500-100.asp,行242 microsoft ole db provider for odbc drivers 错误 '80040e21' odbc driver does not support the requested properties. /tt/showimg.asp,行7 以下是showimg.asp的代码&%set conngraph=server.createobject("adodb.connection")conngraph.connectionstring="driver={microsoft access driver (*.mdb)};dbq=" &server.mappath("images.mdb") & ";uid=;pwd=;" conngraph.open set rec=server.createobject("adodb.recordset")strsql="select img from images where id=" & trim(request("id"))rec.open strsql,conngraph,1,1response.contenttype = "image/*"response.binarywrite rec("img").getchunk(7500000)rec.close set rec=nothingset conngraph=nothing%&各位帮忙看看是哪里的问题,谢谢--------------------------------------------------------------------------------conngraph.connectionstring="driver={microsoft access driver (*.mdb)};dbq=" &server.mappath("images.mdb") & ";uid=;pwd=;" 没用户名和密码--------------------------------------------------------------------------------strsql="select img from images where id=" & trim(request("id"))仔细查看,是否和表images里的字段不一致,或是id类型问题?--------------------------------------------------------------------------------&!--#include file="conn.asp" --&&%set rec=server.createobject("adodb.recordset")strsql="select img from product where productid=" & trim(request("productid"))rec.open strsql,objconn,1,1response.contenttype = "img/*"response.binarywrite rec("img").getchunk(7500000)rec.closeset rec=nothingset objconn=nothing%&--------------------------------------------------------------------------------没看出程序有什么问题--------------------------------------------------------------------------------[images] 这么看看--------------------------------------------------------------------------------看看数据库--------------------------------------------------------------------------------rec.open strsql,conngraph--------------------------------------------------------------------------------id 是自动编号类型,没看出数据库有什么不对呀?急呀!--------------------------------------------------------------------------------其他的字段名字对不对啊?我上午刚碰到这个问题,就是按照如下方法解决的:要把数据库images.mdb当中的表images当中的字段跟程序代码当中提到的字段名严格一致起来。--------------------------------------------------------------------------------代码好像没问题啊--------------------------------------------------------------------------------是这样,你先测试一下你的库连上了没有,如果没有,那就解决连库的问题,否则就看你的sql语句,不过看提示好像是连库的问题!就这样测试下去一步步的缩小错误的范围!--------------------------------------------------------------------------------asp错误大全对初学者们有帮助,或许高手也会忘记,asp错误大全microsoftvbscript语*错误(0x800a03e9)--&内存不足microsoftvbscript语*错误(0x800a03ea)--&语*错误microsoftvbscript语*错误(0x800a03eb)--&缺少 ':'本文共4页: 第 1
责任编辑:gzu521
本类相关文章:
网络世界分类
分类推荐信息
大类最新文章Microsoft OLE DB Provider for ODBC Drivers (0x80040E21)错误,怎么办?
Microsoft OLE DB Provider for ODBC Drivers (0x80040E21)错误,怎么办?
09-01-09 &
一运行网站就出现这个错误。怎么解决 错误类型: Microsoft OLE DB Provider for ODBC Drivers (0x80040E21) ODBC 驱动程序不支持所需的属性。 /ql/affiche.asp, 第 11 行
请登录后再发表评论!温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!&&|&&
LOFTER精选
网易考拉推荐
用微信&&“扫一扫”
将文章分享到朋友圈。
用易信&&“扫一扫”
将文章分享到朋友圈。
阅读(6005)|
用微信&&“扫一扫”
将文章分享到朋友圈。
用易信&&“扫一扫”
将文章分享到朋友圈。
历史上的今天
在LOFTER的更多文章
loftPermalink:'',
id:'fks_',
blogTitle:'Microsoft OLE DB Provider for ODBC Drivers (0x)解决办法 ASP',
blogAbstract:'&&&& 调试ASP程序时候提示:&&&&& 错误类型:&&&&& Microsoft OLE DB Provider for ODBC Drivers (0x)
&&&&& [Microsoft][ODBC Microsoft Access Driver]常见错误 不能打开注册表关键字 \'Temporary (volatile) Jet DSN for process 0xd30 Thread 0x29c DBC 0x1762e54 Jet\'。/admin_logi',
blogTag:'',
blogUrl:'blog/static/',
isPublished:1,
istop:false,
modifyTime:0,
publishTime:5,
permalink:'blog/static/',
commentCount:0,
mainCommentCount:0,
recommendCount:0,
bsrk:-100,
publisherId:0,
recomBlogHome:false,
currentRecomBlog:false,
attachmentsFileIds:[],
groupInfo:{},
friendstatus:'none',
followstatus:'unFollow',
pubSucc:'',
visitorProvince:'',
visitorCity:'',
visitorNewUser:false,
postAddInfo:{},
mset:'000',
remindgoodnightblog:false,
isBlackVisitor:false,
isShowYodaoAd:false,
hostIntro:'',
hmcon:'0',
selfRecomBlogCount:'0',
lofter_single:''
{list a as x}
{if x.moveFrom=='wap'}
{elseif x.moveFrom=='iphone'}
{elseif x.moveFrom=='android'}
{elseif x.moveFrom=='mobile'}
${a.selfIntro|escape}{if great260}${suplement}{/if}
{list a as x}
推荐过这篇日志的人:
{list a as x}
{if !!b&&b.length>0}
他们还推荐了:
{list b as y}
转载记录:
{list d as x}
{list a as x}
{list a as x}
{list a as x}
{list a as x}
{if x_index>4}{break}{/if}
${fn2(x.publishTime,'yyyy-MM-dd HH:mm:ss')}
{list a as x}
{if !!(blogDetail.preBlogPermalink)}
{if !!(blogDetail.nextBlogPermalink)}
{list a as x}
{if defined('newslist')&&newslist.length>0}
{list newslist as x}
{if x_index>7}{break}{/if}
{list a as x}
{var first_option =}
{list x.voteDetailList as voteToOption}
{if voteToOption==1}
{if first_option==false},{/if}&&“${b[voteToOption_index]}”&&
{if (x.role!="-1") },“我是${c[x.role]}”&&{/if}
&&&&&&&&${fn1(x.voteTime)}
{if x.userName==''}{/if}
网易公司版权所有&&
{list x.l as y}
{if defined('wl')}
{list wl as x}{/list}请输入关键词:
此错误具体信息如下:Microsoft OLE DB Provider for ODBC Drivers 错误 '' [Microsoft][ODBC Microsoft Access Driver] The Microsoft Jet database engine stopped the process because you and another user are attempting to change the same data at the same time. /default.asp, 行43 原因是两个用户同时请求更改同一条记录引起的. 解决办法为只用con.execute方法, 避免用revordset对象打开或尽量减少, 并减少语句的减少时间.
热门脚本语言:}

我要回帖

更多关于 odbc是什么 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信