Sunday, May 24, 2009

Crystal Reports Run Time - Visual Studio AnyCPU Target

Following error is raised when you run a report on a 64 bit machine with 32 bit Crystal Reports Run Time.

---------------------------Crystal Reports---------------------------

An error has occurred while attempting to load the Crystal Reports runtime.
Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly.Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required. Please go to http://www.businessobjects.com/support for more information.

After targetting the solution to x86 instead of AnyCpu,report loaded OK.

Crystal Reports - Fake Login Dialog

We have Crystal Reports in our application and noticed a fake Login Dialog that doesn't do anything even when credentials are supplied.After doing some research we found that sql native client is missing.