Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: 32 to 64 bits Post Reply Post New Topic
Author Message
Francesc
Newbie
Newbie


Joined: 08 Jul 2010
Location: Spain
Online Status: Offline
Posts: 7
Quote Francesc Replybullet Topic: 32 to 64 bits
    Posted: 12 Nov 2012 at 6:00am
Hi,
 
I have updated my PC from Windows XP 32 bits to Windows 7 64 bits.
 
If I run reports from the 32 bit programs we made (VS2008, C#) I get this error...
 
...
 
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.
 
...
 
And then an exception in "CrystalDecisions.CrystalReports.Engine.ReportDocument".
 
In the new PC I have installed:
- Crystal Reports 2008 SP2
- Crystal Reports 2008 32 bit runtime
- Crystal Reports 2008 64 bit runtime
 
... 
 
But then I have compiled one of my applications changing platform from "Any CPU" to "x86" and it works.
Selecting "x64" I get the error message I posted.
 
Which is the way to run Crystal in x64 mode?
Next step I have to do is change web applications to x64 servers and reports will be generate in server.
Is it possible to run Crystal in x64 mode??
 
Thank you
 
Francesc
 
 
 
 


Edited by Francesc - 12 Nov 2012 at 6:34am
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 12 Nov 2012 at 11:00am
1.  Crystal will only work with 32-bit database drivers - it cannot connect using 64-bit drivers.
 
2.  You would need the 64-bit Crystal Runtime modules.  I'm not sure whether they're available for VS2008, but I know they're available as part of the "Crystal Reports for Visual Studio 2010" download that works with VS 2010.
 
-Dell
IP IP Logged
Francesc
Newbie
Newbie


Joined: 08 Jul 2010
Location: Spain
Online Status: Offline
Posts: 7
Quote Francesc Replybullet Posted: 12 Nov 2012 at 9:20pm
Dell,
 
I have installed CRRedist2008_x64 "Crystal Reports Basic Runtime fom Visual Studio 2008 (x64)".
 
But I don't know how applicattions can run this runtime. If I set target to "x64" or "Any CPU" it doesn't work.
 
Maybe ...
using CrystalDecisions.CrystalReports.Engine;
... has to be changed to another reference??
 
Thank you
 
[Edit] I found this... Is it valid today? http://scn.sap.com/docs/DOC-21528


Edited by Francesc - 12 Nov 2012 at 9:49pm
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 13 Nov 2012 at 3:26am
For the link - there are newer updates of the software it mentions as well as completely new versions of Crystal - Crystal 2011 and Crystal for VS 2010 - so it's partially still valid, but not completely.
 
-Dell
IP IP Logged
Francesc
Newbie
Newbie


Joined: 08 Jul 2010
Location: Spain
Online Status: Offline
Posts: 7
Quote Francesc Replybullet Posted: 13 Nov 2012 at 9:39pm
I finally set target to "x86" in WinForms applications.

I must find out what to do with web application when we change server to x64. We can not update the project to VS2010 because it is a very large VS2008 solution.

Thank you

Francesc


Edited by Francesc - 13 Nov 2012 at 9:40pm
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.047 seconds.