0

Hi i finally done my first project and thanks to those who help me here in daniweb.
Special mentions @Reverend Jim and @TnTinMN.

But when i run the setup to install it in another computer which is a 64bit. My project didnt connect to the database which is access.
But when i install it in win xp it works fine.

3
Contributors
5
Replies
23
Views
3 Years
Discussion Span
Last Post by ImZick
1

But when i run the setup to install it in another computer which is a 64bit. My project didnt connect to the database which is access.

The most likely issue is that the target install can not find the DB provider.

If you are using the Jet provider, your application must be 32-bit as there is no 64-bit Jet provider.

If you are using the ACE provider, then make sure you have the correct (32 vs 64) installed to match your application's targeted CPU. see: http://msdn.microsoft.com/en-us/library/ff965871.aspx#DataProgrammingWithAccess2010_using32vs64ace

I believe that if you used the ANYCPU option, then it would JIT to a 64-bit application on a 64-bit OS.

Comments
Yeppers!
0

it say that
ace provider is not registered on the local machine

my computer is a 32bit and i want to install my project to other computer which is 64 bit.

1

Zick,

You may need install the ACE provider on the other machine.

Microsoft Access Database Engine 2010 Redistributable

You will need to make sure which bitness (32-64, or both) that your application targets. Go to Project->Properties and select the compile tab.

At the top of the screen you should see two comboboxes.

The one on the left should be "Configuration" and the one on the right should be "Platform". Platform is the one of interest.

Please let us know what is selected for Platform.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.