Visual Studio 2010有连接到访问数据库的问题

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)