Last post Jun 06, 2012 08:18 AM by necro_mancer
Jun 04, 2012 08:09 AM|mahavirjadhav|LINK
We are using crystal report with vs 2010 for web application.
After publishing the solution on local IIS we are geting the exception "Load Report failed".
Thanks and Regrds.
Jun 04, 2012 08:41 AM|kaushalparik27|LINK
Its possibly due to permission issue. Crystal Reoprt create temp files to generate the report. The IIS process account should have permission to access the folder where it creates the temp files.
Jun 06, 2012 08:18 AM|necro_mancer|LINK
It is quite normal if you are experiencing issues when deploying Crystal Report on a server. Based on the error message you experienced, it seems that you have not properly setup/configured your Crystal Report on the PC/server:
1. If you see this error message: "Type 'CrystalDecisions.Shared.CrystalReportsException' in assembly 'CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' is not marked as serializable", this is due to the fact
that your PC is unable to find the right Crystal Report version on your PC. Please try to UNINSTALL any previous Crystal Report version that you have on your system and then, please install Crystal Report for VS 2010 there. You can go tohttp://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_64bit_13_0_1.zip
(for 64 bit machine) ORhttp://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_32bit_13_0_1.zip (for 32 bit machine) ORhttp://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0_1.exe (FULL package)
2. Once you have the CR installed on your system, please make sure you set your Crystal Report to operate on LOCAL SERVICE permission. Please check your application pool and make sure it runs under this permission
3. Please make sure the FULL TRUST read and write permission is set on your working folder
4. Please make sure you copy the CR aspnet_client folder to your working folder
Once you have done all the steps above, your crystal report 2010 should work fine. If you are still experiencing problems with your host, I would truly recommend you to migrate your service to asphostcentral.com.
This host has supported Crystal Report for VS 2010 and any earlier Crystal Report version.
If this post helps you, please mark it as an answer. Good luck!
P.S: Please always make sure you have one Crystal Report version running on your own server. If you have multiple different CR version, your report will not work!