Search code examples
c#asp.net.netcrystal-reports

Error while trying show crystal report on ASP.NET Page


I got this error when i try to show it

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.

This is my first web application with ASP.NET. And i have a big problem to show asp.net. When i tried to send Crystal - Report via mail i get this error.

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.

is there any way to solve this problem ? Thanks .


Solution

  • It may be because you are running your application with an x64 configuration.

    From this:

    'Go to your application project, right click, and select "Properties"

    On the Build tab, find the Platform Target combo box. It probably says, "Any CPU". Change this to x86 and your project will compile for 32 bit only, thus eliminating the issue.'