I have create an application in 32 bit it works fine but when i change its architecture from 32 bit to 64 bit from visual studio its shown an error like Bad image format exception.
Application referenced dll `like
- DataAccess 32 bit dll.
- ApplicationData 32 bit dll.
- System dll,
- System.core dll,
- Microsoft.Office.Interop.Excel
Getting Error `like :-
An unhandled exception of type 'System.BadImageFormatException' occurred in mscorlib.dll
Additional information: Could not load file or assembly 'DataAccess, Version=4.0.0.13, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.