多步OLE DB操作生成错误。检查每个OLE DB状态值(如果可用)。 [英] Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available.

查看:231
本文介绍了多步OLE DB操作生成错误。检查每个OLE DB状态值(如果可用)。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试连接到访问数据库,但是在我编写的行中打开连接:

myConnection.Open()



它抛出异常:

多步OLE DB操作产生错误。检查每个OLE DB状态值(如果可用)。



myConnection的值:

myConnection = New Data.OleDb.OleDbConnection(Path)



我尝试使用相同的代码运行类似的程序并且它工作



有人可以帮我和告诉我该怎么办?



提前谢谢

解决方案

我发现了我的问题 - 如果你有类似的问题,请看这个页面:

http://www.adopenstatic.com /faq/80040e21.asp

I am trying to connect to access database but in the line that I wrote to open the connection:
myConnection.Open()

it throw the exception:

Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available.


the value of myConnection:
myConnection = New Data.OleDb.OleDbConnection(Path)

I tried to run a similar program with the same code and it worked

can someone help me and tell me what should I do?

thanks in advance

解决方案

I found my problem-if you have a similar problem take a look on this page:
http://www.adopenstatic.com/faq/80040e21.asp


这篇关于多步OLE DB操作生成错误。检查每个OLE DB状态值(如果可用)。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆