You dont have to configure your project properties platform target X86. You can also configure the iis options to work with x86 like that
* Select Application pool
* Select the pool which your app uses
* Advanced settings
* Enable 32 bit applications true