Problem:
However, I have a more complicated report (with a pie chart) and I keep getting the error:
- com.crystaldecisions.report.web.viewer.CrystalReportViewer
- Error in saving EMF file.
Test:
- Error goes away when I remove the pie chart
- This report WORKS if loaded from ASP from the Win2k machine
- I notice 0 byte files appearing under tomcat's temp directory though like crystal1731.png and so on
- These seem to have been created everytime the above error appear
Suspicion:
- Could the reason be because the JAR files are not reading from Linux's path correctly? i.e. c:\xxx\ rather than /xxx/xxx
Do you think it is my setup or is it a bug? Thanks!
Please mention the Report Version. This error may arise while saving a chart as a BMP or EMF file with a long filename or if the image path was deep into many folders .
Two ways to get Images onto Report :
Embedding Images in Database : Creates a larger database file(So,not popular)
Creating Links in the databse to Image Files : Saves considerable space in the database by specifying a valid path onto the report.
RE: Crystal Report Problem: Tomcat / Apache / Linux
November 29 2002, 11:38 AM
Anyway I am using CR 9.0, RAS. The RAS is running on Win2K whilst I copied the *.jars onto Debian Linux and running them through Tomcat. Files get created in /usr/share/tomcat/temp/crystal2842.xxx but they are zero bytes. Tried changing the permissions, but still same problem
I would suggest that you pose this question to the Crystal Decision's Support team.( And,incase you find an answer, I would be glad if you could share the information with us)