Troubleshoot problems with Crystal Report XI R2 not working correctly in the 64 operating system-web Program

Source: Internet
Author: User

Original: [Original] solve the problem that Crystal Report XI R2 cannot work correctly in the 64 operating system-web Program

I replaced the new computer, the operating system also from the original 32-bit Windows 2003 R2 upgrade to Windows R2 x64, due to customer reasons our report part must be completed with the Crystal Reports XI R2, the report runs on the original computer has no problem , but has been unable to work on the new computer, the error is as follows:

The type initializer for ' CrystalDecisions.CrystalReports.Engine.ReportDocument ' threw an exception.

Stack Trace:

At CrystalDecisions.CrystalReports.Engine.ReportDocument.CheckForCrystalReportsRuntime ()
At CrystalDecisions.CrystalReports.Engine.ReportDocument. Cctor ()

Inner Exception:

An error had occurred while attempting to load the Crystal Reports runtime.

Either the Crystal Reports registry key permissions be insufficient or the crystal Reports Runtime is not installed Corre ctly.

Please install the appropriate Crystal Reports Redistributable (crredist*.msi) containing the correct version of the Cryst  Al Reports Runtime (x86, x64, or Itanium) required. Please go to http://www.businessobjects.com/support for more information.

After I'm sure I installed the Crredist2008_x64.msi and Crredist2008_x86.msi two packages, the problem remains the same, but the problem is not Crredist2008_x64.msi and Crredist2008_x86.msi Installation or not problem, and then I thought of application pools, the problem is here, to my environment as an example of the solution is as follows:

1. Open IIS and select the application pool that your Web program uses, and click Advanced Settings in the Actions bar on the right

2. Set enabled 32-bit applications to true in the window that opens.

Just set this property on it, run the program again and open the report, and the report will work correctly.

Other than that:

    1. Crystal Report XI R2 cannot run on a 64-bit system
    2. This is an error: in vs2005/2008, right-click on the project referencing Crystal Report XI R2 and select Properti ES, select the Build tab in the Open Properties window, set platform target to x86, and run the program again with an error. The ability to run programs that compile the x86 platform on a 64-bit operating system is necessary to set application pool's enable 32-bit applications

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.