An attempt was made to load a program with an incorrect format

The error occurs when we are deploying the application in windows 2008 (64 bit) server.In my scenario, my application consist of crystal Report it working on x86 version. So I set option in IIS.
In Application pool–>advanced setting: Enable 32-bit Application:True

Improve the performance of the Crystal Report

Crystal Reports takes much time while loading viewer in production server. We are tried on various techniques to improve the performance of the reports but it all not improves up to optimize level. We are used the stored procedures for our reports. One of my senior colleague gives a solution for performance improvement  for crystal Reports.It work fine after doing  below steps.

Open your crystal report in Crystal report Studio

  • File Menu–> Report Options –>Uncheck the below options
  • Verify on first Refresh.
  • Verify stored procedures on First Refresh.
  • Save Data With Report.