I have some crystal reports on a website. They are working fine on my local machine. I'm using Crystal Reports version 13.0.3500.0
The test environment it is on another server, Windows 2008 R2, 64 bit operating system.
The problem is that when on the test environment I want to use a crsytal report, I get the following error: The document has not been opened
I spent some time already to figure it out what can be the problem, but without any success. I'm using the same DLL-s as in my local machine.
I checked and the folder where I have the report has all the rights.
Can you please advise?
if you are using IIS go to the application pool select your web site Click on Advanced Settings on the right side Set 'enable 32-bit application ' true (crystal report runtime engine for .net 32-bit had to be installed)
I was getting this error before I installed Crystal Reports Runtime (21) on my server.
Here is an article where you can find download links etc.
Related
I made my project in C# Visual Studio 2017 using .Net Framework 4.7 and SQL Server 2008. Now I tried to run my project in the client machine which has Windows 10 installed on it. After installing I ran the .exe file, all my functions are running smoothly except my Crystal Reports Viewer.
You need to install SAP runtime for Crystal reports on the client machine
You should have install SQL server on your client machine to make the database working similarly you are required to download the client tool for SAP report. So instal Crystal Report Runtime for client machine and it will let you open your reports on your client machine without any error.
Thanks everyone for your answers but I solved it , the issue was in version of Crystal report as it needed CR V13.0.25.134 for 64 bit but I was using CR V13.0.26 , so yeah I made it through. Thanks again everyone for your time.
I?m using crystal reports in a asp application, when I install in a server (IIS) before a few time using the application an generating reports start to show that message,
here is how I call all the reports
reporte = ReportFactory.GetReport(reporte.GetType());
reporte.Load(Server.MapPath("~/Rpt/rptVtaTelefonicaAdmin.rpt"));
http://s1043.photobucket.com/user/jmperez97/media/2016-11-23_09h38_55_zpsrlahvrqs.png.html?filters[user]=145882609&filters[recent]=1&sort=1&o=1
Any idea why this appear?
Ps: I'm using .net 3.5
crystaldecitions.Cristalreports.engine V 2.0.50727
The "load report failed" error message can be caused by several factors:
crystal report is not properly configured on your machine
crystal report assemblies installed on your machine do not reflect the assemblies you have on your web.config
crystal version installed on the server is different with the one you want to invoke from your site
application pool where your reports run is not set to LOCAL SERVICE
read and write permission is not enabled on your root folder
crystalreportviewer folder is not copied to your operating folder.
Source
I have an asp.net web application developed in VS2010 which uses crystal report 13 (32bit) to generate report. on local machine, the reports works fine, but on the hosting server, the CrystalReportViewer does not appear, and there are no error message. I later learned that Crystal Reports Runtime for Visual Studio 2010 (x64) is installed on the server.
I have searched google and sap websites but no solution. my question is: is there a ways to get crystal report 32bit work on 64bit server? and how can I do that?
Any help will be greatly appreciated
I have been able to solve my own problem.
For those who may be facing the problem, please check this link
Hi I have developed windows app using c# to load the crystal reports dynamically from the code. In my development machine Crystal reports versions "10.5.3700.0" and "11.0.3300.0" installed. While building the app, by default 10.5.3700.0 version selected to my project while selecting the references of (CrystalDecisions.CrystalReports.Engine.dll,CrystalDecisions.ReportSource.dll,CrystalDecisions.Shared.dll,CrystalDecisions.Web.dll) and It works fine in my Dev server. If I moved the same exe file to another server, there only 11.0.3300.0 version installed. It was throwing could not load assembly version error. How do I build my application with 11.0.3300.0 ver and make it work in other server.
Please help me out ..
Thank you
Uninstall the version 10.5.3700.0 from your computer and use only 11.0.3300.0 everywhere.
I had many issues like that with Crystal Report. I finally change to ITextSharp to create my PDF file. Much easier.
my client machine is 64 bit but the application i build is in x86 target platform in C# Visual studio 2008 with win7 32 bit. Now the problem is when i click crystal report button on my application it gives me this error. It works perfectly fine on development machine but on client i just see this message box again and again.
"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."
I have checked crystal reports even in prerequisites just like the attached picture
Also i have installed manually crystal reports runtime from http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_32bit_13_0.zip
But error seems not leaving my life at all.
I am using first time crystal reports in C# but it gave me very hard time just to install it on the client machine. I have googled and found solutions most of them i have tried like setting prerequisites and changing mode from Any CPU to x86 but none has fix my error.
IIRC I've had a similar problem in the past caused by deploying Crystal with the Setup package. Have you tried uninstalling Crystal Runtime from the target machine and installing the correct (64-bit) runtime version onto it directly?
You can leave your target CPU as Any.
I found the answer what i did is i have opend the directory in my development machine C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\CrystalReports10_5 and copied the runtime exe for crystal reports and than i have ran it manually on the client machine. By doing this my client machine is now able to run crystal reports perfectly fine. I believe i should store this crystal report runtimes in my setup program for other clients.
Your application is targeting x86 version and you are installing in 64 bit machine,right?
I think crpt x64 installer is corrupted.
After making installer,go to debug folder and find crystal report folder.You can see two crpt installer,one is x86 and another is x64. Delete x64 installer. copy x86 to another place and rename it as x64.Then recopy to crpt folder.Now check installation.
I think I can make you understand.