I have a few web applications running on the same server. Recently I added crystal reports for VS 2010. I thought to use new reports for several of projects but not all. Other projects uses the older version of crystal reports
So I modified the web.config of the required projects. I downloaded runtime on both my development machine and server. So now I have both versions of asseblies (v 10 and v 13) in GAC. I have .NET 4.0 on both macines as well.
It has worked on development machine
However, when I run the same projects on server it raises an error.
CS0433: The type 'CrystalDecisions.CrystalReports.Engine.ReportClass' exists in both 'c:\WINDOWS\assembly\GAC_MSIL\CrystalDecisions.CrystalReports.Engine\10.5.3700.0__692fbea5521e1304\CrystalDecisions.CrystalReports.Engine.dll' and 'c:\WINDOWS\assembly\GAC_MSIL\CrystalDecisions.CrystalReports.Engine\13.0.2000.0__692fbea5521e1304\CrystalDecisions.CrystalReports.Engine.dll'
I am wondering why it works on my development machine and does not on server ? Do I have to configure something on server to make it happen ? Or do I need to add in someting in web.config file ?
If someknow knows it, please let me know.
Thanks in advance for your help.
I had the same problem and fixed it by commenting/deleting assembly references which refer to version 10.5.... in web.config. In addition I had to change manually correct version to register assembly="CrystalDecision.... in the .aspx file where I use Crystal report components.
Related
Could not load file or assembly 'CrystalDecisions.Shared, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
Crystal can be, touchy to deploy and run if it's not your server (e.g. you don't have access to deploy there and possibly make tweaks). If it's your server, not a problem. Go get the Crystal merge modules from sap.com and install them on your server, then you will just need to reference them in your web.config. You may run into other issues with permissions (Crystal in some circumstances uses the C:\Windows\Temp directory to export files which hosted servers will at lot of times prevent you from using, I assume this is a throw back to the fact their codebase dates back to the Windows 3.x era).
I'm going to provide the links to the downloads page at SAP:
http://wiki.scn.sap.com/wiki/pages/viewpage.action?original_fqdn=wiki.sdn.sap.com&pageId=56787567
You're using version 10.2 (which is pretty old, Crystal is pretty good about backwards compatibility so if you're in a pinch you can use newer Crystal DLL's and they should export your reports fine).
I am using ActiveReports6 for my windows forms application
When I install it on my machine providing serial key it works perfectly fine.
But when I don't install it, it shows this red line in the bottom of the report
The document was created using an evaluation version of activereports..
My understanding may not be correct, but what I tried is I installed licensed version of ActiveReports6 to my computer and then copied all the dlls generated for ActiveReports6 from GAC and added them to my project thinking now they will work on any machine as they are generated by licensed version of the software.
And then uninstalled Activereports6, but when I tried it still gave me the same evaluation version message.
So is it mandatory that active reports has to be installed in all the machines where I deploy my client? Or I did something wrong
The license for development. You would install activereports, create your reports and build your application on the licensed machine, the VS compiler will automatically check the licensed components and include the license within your application. You do not need to install ActiveReports itself on your client, only make sure that you are deploying the ActiveReports assemblies with your application. if you are having any issues please contact us at http://activereports.grapecity.com and we would gladly resolve the issue for you.
Found the mistake I was doing.
Actually I had put licenses.licx file in the subdirectory of the project while it should be in the same directory of the project and so I was not generating its exe.licenses file and so did not work.
Once I changed the location of licx file it worked!
Thanks!
I updated jasperreports from version 5.0 to 6.1. I ran the jasperreports update script, and it appeared to run successfully. I installed it to a new folder, following all of the update directions. I am running Tomcat and Postgresql.
However, I previously started jasperreports by running a script called:
./ctlscript.sh start
from the main Jasperreports folder in a bash shell. I am now using a different folder, and the file ctlscript.sh is not there.
Did I not update this correctly? Or am I supposed to copy that file from somewhere?
Is there some other way I should be starting jasper? What do I need to do to start the server application?
Thanks!
1st of all u refer to the jasperreports server or the jasper reports API? or for the iReport or Jasper Studio IDE's? Please rework your question... 6.1 has changed dramatically from the the 5.0 u used...so be more precise on your need.
I looked back at the installation log, and indeed there was a problem with the installation. I wound up starting fresh an ran the installation, not the upgrade, and it worked.
Failed to load database information. Details: The database DLL crdb_ado.dll could not be loaded. Error in File (filename) Failed to load database information.
I am receiving this error when i try to run a crystal report from my page. on the server I have installed the CRRedist2008_x86 and the dll file is in the business objects folder, but for some reason it is still not loading. I also checked to make sure I have the msvcp60.dll which is also needed but still am unable to run the report.
The server is running Windows Server 2008, has Visual Studio 2005 installed on it (not sure if that makes any difference). The application ran fine on my local machine, but after uploading it to the server, it's not wanting to play nice.
Any suggestions/help is appreciated.
Thank You
You should get Dependency Walker and open the crdb_ado.dll to confirm all the required files are there. Although checking for msvcp60.dll is generally the right idea, I've found that people are often looking for the wrong version of those files OR that other required DLLs are also missing.
Also, be sure the redist you are using matches the version of Crystal Reports you have referenced in your project. There is a difference between using, say Crystal Reports 2008 on top of Visual Studio 2005,, versus using the BUNDLED Crystal Reports that comes with Visual Studio 2005 (Or 2008, or 2010 for that matter.).
In fact, sometimes people don't realize that their .NET projects are referencing the "comes with Visual Studio" edition of Crystal Reports because they happen to have Crystal Reports version <whatever> installed on their PC.
That said, if you are pretty confident your redist of CRRedist2008_x86 matches what you are using, I'd focus on Dependency Walker to see if it is indicating a missing required file for the crdb_ado.dll.
Summary: is it possible to serve reports created with 2 different versions of iReports in the same web front end?
Background:
I have inherited a large number of (still-functioning) reports written using iReport 2.0.1 (migrating them all to a later version is probably not an option, unless anyone knows of a brilliant/quick solution). I want to increase our ongoing reporting functionality by creating new reports in a later version of iReport (at least 3.7.1, but ideally 4.x).
System Setup:
JBossAS 4.2.1 on Server A (with apache 2.x) with JasperReports 3.5.7 also running on Server A, responsible for reports 1-100
Question:
Is it reasonable/feasible to install JasperReports 4.x on Server B (knowing that it requires a different environment than earlier versions, & so cannot also run on Server A) and have (future) reports 101 and up, created using e.g. iReport 4.x, served JBoss on Server A but parsed by the JasperReports server running on Server B?
(It may not be relevant, but our database is Postgres 8.1.3)
Thanks!
There is a tool in the Jasper distribtion that can update your JRXML files to the latest version of the schema. If you're comfortable with Ant scripts try it out:
http://jasperreports.sourceforge.net/sample.reference/antupdate/index.html
I used it sucessfully when we upgraded from Jasper 1.3 to 4.6.
Yes, it should work.
Reports working in JR 3.5.7 should also work in JR 4.2.1 (or even 4.5.0). Backwards compatibility is very good. (But it's not magically good... so you'll need to test.) You can set iReport to save to older .jrxml versions. And you would need to be careful to not use features that were introduced after 3.5.7.
You should at least test the brilliant/quick solution of just running the 100 reports in the later version of JasperReports Server. You might be pleasantly surprised to find that they just work.