BadImageFormatException on dll load and Provider not registered on local machine issue
Posted
by
thedev
on Stack Overflow
See other posts from Stack Overflow
or by thedev
Published on 2011-01-11T08:37:33Z
Indexed on
2011/01/11
11:53 UTC
Read the original article
Hit count: 242
Hi guys,
I am running a .net 4.0 app, Access Database on a Win 7 x64 bit OS + Office 2010(64 bit compatible provider Microsoft.ACE.OLEDB.12.0 )
Platform target x86:
Provider problem:
The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine
Platform target x64 or Any CPU:
Dll problem:
System.BadImageFormatException: Could not load file or assembly 'Interop.SHDocVw, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
© Stack Overflow or respective owner