Click here to Skip to main content
15,919,613 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi, I have an application which is compiled in x86 platform. I have tried to run it in my local PC and all is ok without any problem. But when I host my application in a server, whenever I run a particular function that is using Microsoft.ACE.OLEDB.12.0, it returns me the error message as stated above.

I have Access Runtime 2010 installed in my server but it still does not solve the problem. I have compared my local PC and server, turns out to be the server is missing Microsoft .NET Framework 4 Client Profile and Microsoft .NET Framework 4 Extended. Are these components that I need to install inside my server?

Thank you.

What I have tried:

1. Installed Access Runtime 2010 in server
Posted
Updated 27-Apr-17 13:16pm
Comments
Richard MacCutchan 27-Apr-17 3:58am    
No, you need to install the ACE driver, as stated in the error message.
Jamie888 27-Apr-17 5:14am    
Sir, the ACE driver is Access Runtime 2010 mentioned above?
Jamie888 27-Apr-17 5:17am    
Sir, I found one from Microsoft website:
https://www.microsoft.com/en-us/download/details.aspx?id=13255

Is this what you mean?
Richard MacCutchan 27-Apr-17 5:20am    
Yes.
Jamie888 27-Apr-17 9:55am    
Ok sir, I will give it a try and will keep this post updated. Thank you.

If your code is compiled x86 only, you MUST install the 32-bit version of the Access Runtime.

If your code is compiled AnyCPU or x64, then you should install the 64-bit version of the Access Runtime on the server, IF the server is running 64-bit Windows.
 
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