Jaspersoft Studio - not realoading subreport content from server in preview - jasper-reports

I'm having trouble with subreports in Jasper studio. Currently I'm working on template where I would like to add header / footer / maybe title as subreports. The reason is that I have around 100 reports where I want to add this "shared footer/header ... " so that if anything changes in future I would only have to change it in one file.
About
For example I have my main report that contains two subreports header / footer. When I upload all these reports to server and run main report, it works fine.
Let's say that I change text in header and I upload it to server and again run main report I can see changed text in header.
Problem:
Now when I work on this report locally and I hit Preview I always see some cached version of that subreport from very early stage when I was making this header subreport.
What I tried:
added -clean to .exe (target)
deleted folder in file:/C:/Users/..../AppData/Local/Temp/
Project - Clean - Clean all project
restarted PC
Subreport settings:
Using cache : false
Expression: "repo:/....."
So far I do not know, where could be the problem... why does the preview tab just do not update that subreport content. How can I remove that cache ?

My solution:
How I managed to make it work is that I went to repository explorer in Jasper Studio I've located my "footer subreport" and I've clicked to that little arrow that opens all files for that report and I used "Open in editor" for main_jrxml file. When I compiled this file I was able to use newest version of this subreport in my main report preview :)

Related

iReport doesn't see the data from JasperServer

When I connect to a Jasper Server via iReport Designer and choose a report from it I can see a report template but when I click preview I can't see the data of report. Besides that when I go to Jasper Server web page and choose the same report I can see the data without any troubles. Could please explain me why it happens and how I can resolve this issue? Thank you in advance!
Right click on the Report in the Repository Navigator and then click Run JasperSever Report. This will execute the report on the Jasperserver and present you the result.

ssrs subreport not showing when compiled via web app

I have this report which uses a tablix and on one of the rows I have a subreport.
Now in development preview everything works as expected. On the server instance online page it works flawlessly.
When I get this report via my web application and send it (.pdf) to a user the subreport doesn't render. Any ideea why?
Exact error is: Data retrieval failed for the subreport, 'Subreport12', located at: *. Please check the log files for more information.
there is nothing in the log files to help me.
With the web-app it is not able to find the path of subreport. Instead of relative path give the absolute path in the report design.

Export button in Crystal Report - no action happens when clicked

I have a web application that uses Crystal Reports 12 to view reports. Reports view successfully, but when I try to export the report to any format (PDF, Excel, etc.), the export button does nothing.
When I copy the report url and enter it in the browser I get a JavaScript error object expected in allinone.js.
Although you did not provide any code, Crystal reports has gotten issues in exporting reports. So I personally recommend getting the latest version.

Programmatically re import subreport in Crystal Reports

I have a header subreport who is used in a lot of reports. (about 40-50 reports)
I want the header to be up to date without doing anything manually each time.
Do you know how it can be done ?
By the way, my crystal reports version is 10.5 (The default one in VS2008)
Depending on how the subreport is implemented, you may have some options. Subreports can be made either completely embedded in the parent report OR imported on opening of the parent file.
For example, open up a few of your parent reports and right-click on the subreport. Go into the sub-report's properties menu. If you see a re-import when opening option, then it's not embedded.
I'm not sure what your question is, exactly. If you are designing these reports and want to make a sort of Master/Template SubReport, then you should make it independently, import it into each report, and check the option to automatically re-import the subreport every time the main report is accessed. This way, you only have to update the 1 Master/Template SubReport and all the Parent Reports will be auto-updated next time they're opened.

Crystal report file does not get deployed to server in ASP.NET MVC

I am using a crystal reports through crystal report viewer server side control in a webform.
I am using a webform because the crystal report viewer provides an easy way to export to PDF and to Excel.
My problem is that when I deploy to the server, the crystal report .rpt file does not get copied to the target folder.
My solution structure looks like this:
Solution
|-Content
|-Controllers
|-Models
|-Views
|-etc...
|-Reports
|-Default.aspx
|-Report.rpt
On the server, the Report.rpt file is missing after I publish.
If you right click on the Report.rpt file in Solution explorer and view the properties, make sure that the "Build Action" is set to Content. I believe by default it is set to Embedded resource.