Visual Studio 2010有连接到访问数据库的问题 [英] Visual studio 2010 having problem to connect to access database

查看:135
本文介绍了Visual Studio 2010有连接到访问数据库的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello guys开发人员,我的visual studio 2010 Express出现了问题,它一直运行正常,但现在据说有一些问题,它曾经允许我连接到'Microsoft.ACE.OLEDB。 12.0'提供商,但现在据说没有在本地机器上注册。



它现在已转移到Microsoft.jet.OLEDB.4.0,我使用的是microsoft 2007现在,当我使用它作为数据库访问时,不接受连接它。我不知道如何解决这个问题,我试图卸载visual basic studio 2010 express并再次重新安装,但问题仍然存在。如果需要别人的帮助来解决这个问题。



谢谢你

Hello guys developers, I had a problem with my visual studio 2010 Express, it has been working properly but now, it is said to have some issues, it used to allow me to connect to The 'Microsoft.ACE.OLEDB.12.0' provider but now is said that is not registered on the local machine.

It has now shifted to Microsoft.jet.OLEDB.4.0, I m using microsoft 2007, now as I m using it access as database, it is no accept to be connected to it. I don't know how to resolve that issue, I tried to uninstall visual basic studio 2010 express and reinstall it again but still the problem remain the same. if need someone's help to handle that.

Thank u

推荐答案

provider = Microsoft.ACE.OLEDB .12.0

将其更改为

provider = Microsoft.Jet.OLEDB.4.0
provider=Microsoft.ACE.OLEDB.12.0
change it to
provider=Microsoft.Jet.OLEDB.4.0


将数据库保存为* .accdb(提供者) = Microsoft.ACE.OLEDB.12.0)而不是* .mdb(provider = Microsoft.Jet.OLEDB.4.0)
save your Database as *.accdb(provider=Microsoft.ACE.OLEDB.12.0) not *.mdb(provider=Microsoft.Jet.OLEDB.4.0)


这篇关于Visual Studio 2010有连接到访问数据库的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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