开发者

advantage ole db provider 10.0.0.3 adsoledb for 64 bit - can't get it to work

开发者 https://www.devze.com 2023-01-10 08:53 出处:网络
trying to get a local server version of Advantage OLE DB Provider to work on a 64 bit Windows 7 machine. installed the 64 bit version 10.00.0.3 release and copied my application. registered the adsole

trying to get a local server version of Advantage OLE DB Provider to work on a 64 bit Windows 7 machine. installed the 64 bit version 10.00.0.3 release and copied my application. registered the adsoledb64.dll from the app directo开发者_JAVA技巧ry. I get nothing. Doesn't write a log either. Am I going to have to compile the app on the 64 bit machine? very confused and frustrated.


Based on the information I have gleaned from the comments, it sounds as if your application is running as a 32-bit application. If so, it will not be able to load 64-bit version of the OLE DB provider. The conn.Open(); call would likely result in an error such as this:

The 'Advantage.OLEDB.1' provider is not registered on the local machine.

One way to test this would be to install the 32-bit version of the provider to see if it works.

Alternatively, you might consider using the Advantage .NET Data Provider rather than the OLE DB provider. Using a native data provider instead of going through OLE DB might prove simpler in the long run.

0

精彩评论

暂无评论...
验证码 换一张
取 消