Click here to Skip to main content
15,937,735 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi all

we design accounting software (N-layer application , C#.net , ACCESS 2010), We wanna

publish our project in web. In the test step ,we install software(We create setup

using Visual studio) in the many PC we face the following error :

Attention: we release our project in X32 Configuration.

When Install in the pc that have office 2010 (X64) , we face following error :
Unrecognized Database Format x.accdb

solution that we test and have problem :
install two package:
1) AccessDatabaseEngine(Data_conectivity2007)... solution that find in web.
site:http://www.microsoft.com/en-us/download/details.aspx?id=23734[^]
2)AccessDatabaseEngine 2010.

in last we force to delete office package and install two above package and application run correctly.(that it is problem).

but in any pc that have office 2007 (X32 or X64) or office 2010(X32) not X64 with install two above package, application run correctly.

Question:
Is there best solution to know what is version office that install in PC ??

how We know what's deadline in target system ? for example (.net frame work 4 or above two package ) and setup automatically install that package.

thanks a lot.
Posted
Updated 20-Apr-15 4:26am
v3
Comments
Maciej Los 20-Apr-15 12:12pm    
MS Access is not included each version of MS Office. I'd suggest at least to install AccessDatabaseEngine 2010 every time when you install your application. Project should be built with "Any OS" option.
bernova 23-Apr-15 4:38am    
thanks a lot.
Maciej Los 23-Apr-15 4:39am    
You're very welcome ;)
Does it help?
bernova 23-Apr-15 8:33am    
yeeeees. thanks a lot.
I release my solution as AnyCpu configuration . and test in many pc . that's right idea.
Maciej Los 23-Apr-15 8:50am    
I posted my first comment as an answer. Please, be so kind and accept it (green button) to remove your question from unanaswered list. Cheers, Maciej.

1 solution

MS Access is not included each version of MS Office. I'd suggest at least to install AccessDatabaseEngine 2010 every time when you install your application. Project should be built with "AnyCPU" option.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900