Crystal Reports run time for VS on Windows 7 throws error

It seems to work fine on my development machine or Windows XP test machines, but I ran into problems on Windows 7 test machines.

enter image description here

After that, I get a normal error on failure:

************** Exception Text **************
System.InvalidOperationException: An error occurred creating the form. See
Exception.InnerException for details.  The error is: The type initializer for
'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception. ---> 
System.TypeInitializationException: The type initializer for 
'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception. ---> 
CrystalDecisions.CrystalReports.Engine.LoadSaveReportException: 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.
   at CrystalDecisions.CrystalReports.Engine.ReportDocument.CheckForCrystalReportsRuntime()
   at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()
   --- End of inner exception stack trace ---
   at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()
   at CrystalDecisions.CrystalReports.Engine.ReportClass..ctor()
   at Processing.LogTag..ctor()
   at Processing.frmPrint.InitializeComponent()
   at Processing.frmPrint..ctor()
   --- End of inner exception stack trace ---

Their website, of course, is a nightmare to find anything ...

Note. This is Windows 7 64 bit, but I am already running the program in 32-bit mode.

Update:

, , , x64 , .
, x64 32- x86, . , 32- , - .

, , - , 64- , , .

+5
4

Crystal Reports Visual Studio 2010 13.0.1 (x64) , x64. , VS CPU.

http://www.sdn.sap.com/irj/boc/support?rid=/webcontent/uuid/d01fdad8-44e5-2d10-61ad-9d2d4158f3a8

+3

x86, Windows 7 64- (C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\CrystalReports\CRRedist2005_x86.msi) .

+3

, " 32- " true

+1

This error can also occur if you are using a 64-bit desktop / server and you do not have a 64-bit version. You need to know which version of the runtime to install. As always, Google is your best friend for finding venues.

0
source

All Articles