Skip to content

problem with 64 bit OLEDB  #58

@yosimaurer

Description

@yosimaurer

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions