I have created a web project which uses sql compact but when I run this project, It gives me below error.
An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
But When I check below option to run it with 64 bit version, It works fine.
However I have other .Net Websites(Not Projects) which run fine without these settings and they also consume same dlls. Perhaps I am missing a lot here.