[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2411
  • Last Modified:

Crystal Reports 2008 not working with Visual Studio 2008

I have a web application (ASP.net, visual studio 2008) that creates crystal reports. We had Crystal 10 installed on the server and It worked fine. We are moving everything to a new server where everything is 2008 version.
I installed the demo of Crystal Reports 2008 on the server and my local machine to test the web app with the new server. It works perfectly on my local machine, not the server.

I get the following errors:

ASP.net:
Exception: System.Runtime.Serialization.SerializationException

Message: Type 'CrystalDecisions.CrystalReports.Engine.LoadSaveReportException' in Assembly 'CrystalDecisions.Shared, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' is not marked as serializable.

Crystal 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.

I have run any redistributable i could get and nothing has worked. Is this because it is the demo of Crystal? (I didn't want to purchase the full version until I knew it worked)
0
bmaitdepartment
Asked:
bmaitdepartment
  • 4
  • 3
1 Solution
 
mlmccCommented:
The demo or trial version is a full version.

The original version of CR2008 was not supported on VS2008.  By the version shown 12.0.2 I suspect that is what you have.

Dowmload one of the service packs.
https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm

SP2 does support VS2008
http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/00225757-ab5c-2c10-c1a8-fb9f9f0f4ac2

mlmcc
0
 
bmaitdepartmentAuthor Commented:
I will download this now and let you know what happens.
0
 
bmaitdepartmentAuthor Commented:
Update:

I have gotten SP2 installed and have re-run the redistributable. I am still getting the following 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) that contains the version of the Crystal Reports runtime (x86, x64, or Itanium)  that is required.  Please go to http://www.businessobjects.com/support for more information."

I am getting the same serializable error from asp.net.

I am not able to restart the server at the present time. I will restart as soon as i am able to. Do you have any other suggestions?
0
Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

 
mlmccCommented:
Try the restart.

Crystal does require permission to some temp directories and virtual directories.  The permissions may not work until you restart the server.

mlmcc
0
 
bmaitdepartmentAuthor Commented:
Still the same error. Is there something within IIS that needs to be set?
0
 
Mohamed OsamaSenior IT ConsultantCommented:
if the previous solution is not applicable (application is not 64 bit) , I have solved similar issues using Procmon,
running Procmon & gradually filtering out processes out of scope , I managed to pinpoint the problem to a certain registry key that no one had permissions on, adding the read permission to everyone , solved the problem.


0
 
bmaitdepartmentAuthor Commented:
Sorry for the Delay. I was off work due to the Holiday. Enabling 32bit applications did work. I am getting other errors. However, I have decided to use Reporting Services and will be going forward with that. We are trying to not have the web application use other software.
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now