cancel
Showing results for 
Search instead for 
Did you mean: 

OLE Object not loading in web viewer

dhockenbroch
Discoverer
0 Kudos

I have a report that contains an image with the graphic location set to be a specific URL based on one of the fields in the report. I'm using this to embed a barcode on the report. This all works fine when I'm using Crystal Reports XI itself, but when I view the report using a com.crystaldecisions.report.web.viewer.CrystalReportViewer in Java, the image doesn't show up. I see other topics about this, but they all seem to apply to the .NET SDK, not the Java version.


I also want to note that the main reason I'm going about it this way is because the barcode font we originally were going to use in Crystal Reports doesn't display correctly in the web viewer because some of the characters are in the Latin-1 character set, and it seems that the UTF-8 encoding that the web viewer uses doesn't play nice with that. So if there's an easy way to switch the encoding to something else, that may also solve my problem.

Accepted Solutions (0)

Answers (1)

Answers (1)

DellSC
Active Contributor
0 Kudos

Does your web server have access to the location of the files? Are they on the same domain as the application?

-Dell

dhockenbroch
Discoverer
0 Kudos

They are on the same domain, and the file gets created and returned as a response to an HTTP request to a barcode generator page.

DellSC
Active Contributor
0 Kudos

So the image is streamed back from the web service instead of being stored and then opened from the file system, correct? What format are you using for the image?

-Dell