Crystal report Error in Hosting server of Plesk - asp.net

I am using vs2008[asp.net,c#] and sql sever2008 to develop a web application.
Where I created a Crystal Report but its generating error on hosting server.
Locally its executing perfectly.
Error Message:
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.
Line 45: ReportDocument cryRpt = new ReportDocument();
Exception Details:
CrystalDecisions.CrystalReports.Engine.LoadSaveReportException: An
error has occurred while attempting to load the Crystal Reports
runtime.
Please help me!

Either you did not install the same version of the runtime on the server as you used to design the report, or you are trying to deploy to a 64-bit server. The Crystal for VS2008 must run in 32-bit mode (even the 64-bit package).
If your web server is 64-bit, follow the advise in the linked article (build as x86 and run App Pool as 32-bit).
Alternately, upgrade to VS2010 or 2012.

Related

Crystal report has login failed error after enable 32-bit application to true in the application pool on IIS

My web application’s target CPU is ANYCPU. On IIS that application pool, I need to set enable 32-Bit Application to be true because of referencing another interop dll. After changing, the crystal report has login failed error. It works when the setting of enable 32-bit to be false.
On web server, I installed SAP Crystal Reports runtime engine for .NET Framework(32-bit). Also it has installed SAP Crystal Reports runtime engine for .NET Framework(64-bit).
The dll files of Crystal report is reference to C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet\CrystalDecisions.CrystalReports.Engine.dll
Would anyone can tell me how to solve this problem. Thanks in advance.
You will have to install the 32-bit runtime of Crystal on the Server.

the type initializer for 'crystaldecisions.crystalreports.engine.reportdocument' threw an exception. vs2010

i have windows 8 and crystal report XI ,but unable to load crystal report error occur can u please tell me the issue
Either the crystal report registry key permissions are insufficient or 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.
Verify that you have selected a Target CPU under Application \ Properties \ Compile tab - Advanced Compile Options. (x86 or x64)

Cannot find KeycodeV2.dll, or invalid keycode

I have a legacy application developed in vs2003 and crystal report 9 web based and installed on windows xp and its running very fine, I want to move this application from windowsxp to window2008 server and iis7 having vs2010 and crystal report xi is installed on that machine , when i tried to open any report I am getting the following error
Cannot find KeycodeV2.dll, or invalid keycode
i have copy this dll in the bin folder as well as in system32 folder even i have registered this dll with regsvr32 but issue not resolved.
please help me in resolving this issue.

How to install crystal report runtime in VS2008?

I am using VS2008 and I am building an Web Application with crystal report. As we know along with VS2008 we are provided crystal report basic version that is 10.5.0.0 with Crystal Report Runtime
version 10.5.0.0 .
When i try to deploy my website on server it gives me an error "Crystal Report not supported". And i got a reply from support that their server support Crystal Report Version 12.3.3.812 which is CR VS2008 SP3.
And when i downloaded the version from SAP website, I am not able to upgrade my CR Version please let me know how to upgrade.
You need to upgrade your crystal reports version. You can download from
SAP Official Wiki Site or Install Crystal reports developer version for Visual Studio
To upgrade your machine you simply install the newer version of Crystal Reports on it.
To upgrade your project you'll need to remove the reference to the older bundled, free copy of Crystal Reports and add the newer 12.x references you should now see. (You'll see them only if you've successfully installed the newer Crystal Reports on this computer.)

crystal report for visual studio 2010 is not displaying after hosting on remote server

i developed an asp.net application in which i used crystal report (for visual studio 2010). I have a big problem that is when i run my application on local server, it works fine but when i deploy it on remote server, crystal report is not displaying. can any one help me.
Thanks.
You have to make sure that an appropriate version of crystal report run-time is installed on deployment (remote) server or not.
make sure temp directory of windows have appropriate permissions to execute the report. In my case I gave full permission to everyone on c:\windows\temp directory.
visit following link to find the step by step solution to deploy a crystal report website.
http://dubeyniraj.blogspot.in/2012/02/deploying-net-crystal-report-website-on.html

Resources