JetEntityFrameworkProvider
JetEntityFrameworkProvider copied to clipboard
problem with 64 bit OLEDB
I had a problem running an application on machines with Access 64 bit. This was obviously because the application targeted Any CPU which by default runs as 86 bit app. Therefore Microsoft.Ace.olddb.16.0 failed to open.
After building a version of the application that targeted 64 bit I got a different error:
System.BadImageFormatException Could not load file or assembly 'JetEntityFrameWorkProvider, Version 6.0.0.0 ...
After the bulid I saw the following warning in visual studio:
There was a mismatch between the processor architecture of the project being built "AMD64" and the processor architecture of the reference "JetEntityFrameworkProvider, Version=6.0.0.0, Culture=neutral, PublicKeyToken=756cf6beb8fe7b41, processorArchitecture=x86", "x86". This mismatch may cause runtime failures.
The latest version (check Include prerelease in NuGet) should be compiled for AnyCPU
I am using version 6.1.4 Should I use 6.2.0 r.c?
I solved the same issue using 6.1.5-rc3 6.2.0 is for EF 6.2