Updated JasperReports jasperserver to 6.1, but can't start it - jasper-reports

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.

Related

I have a problems with dotnet folder

I wrote a project, I ran cmd, to connect my codes to SQLserver. when I typed dotnet ef migrations add...; It said : that it can't find this 3.1.1 version folder despite the fact that when I asked the version, it would say it is 3.1.1 version.
So i downloaded the 3.1.1 sdk from Microsoft website, I installed it and nothing changed, the 3.1.1 folder wasn't added. I tried to find the folder but I could not.
Suddenly out of nowhere, I decided to download the framework instead. I opened it and it didn't need installation. I just copied this framework and replaced it with the whole dotnet folder which I had problems with😓. The problem started there, again I executed cmd and wrote dotnet ef... It said there is no ef. I again replaced the framework with another one, it said wrong machine, one another time and it said the dotnet image doesn't fit my pc or sth like this. I uninstalled the dotnet and installed it again, it now says an attempt was made to load a program with an incorrect format. I searched this error, they said I should change the 64bit iis to 32bit. I tried but I can't. Iis manager doesn't have the enable 32 bit option for me! And in the other ways folders are missing.
What should I do?
I solved it by first deleting the dotnet folder, then reinstalling visual studio.
Then I downloaded the dotnet sdk for runtime which is suitable for my computer

Crystal Reports Viewer of windows forms not working after upgrade .net from 4 to 4.6

My existing code work as expected with .net framework 4. But after upgrade to .net 4.6. Its not work
I also ran into this. Had to uninstall all 4.6 frameworks, and then re-install 4.5.2 Framework. And finally re-register in IIS by running aspnet_regiis -i
and then my CR started working again.
So removing 4.6 for Windows 2008 Server is the solution. For Windows 2012 Server, turns out the 4.6 is "hidden" as update KB3102467 that was pushed out around April 2017. Uninstalling that got the Crystal Reports viewer working again on our Windows 2012 servers.
Another answer for anyone... fix is simple but requires a manual change every time their is a patch\update for .NET Framework 4.6
Turns out the problem is that Crystal Reports looks for a folder that matches the version of the Framework including the "build".
The quickest way to manually fix this is go to the web page that has the Viewer and look at the source. You will find a line similar to /aspnet_client/system_web/4_6_xxx/crystalreportviewers13.....
Go to the servers hard drive and rename\copy that folder to the version it is looking for and you are back in business.

Getting "The document was created using an evaluation version of activereports"

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!

Is it possible to use two different versions of JasperServer with the same website?

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.

Using different versions of Crystal Reports on a same server

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.