cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Info: Dynamic image with https link wont work.

Former Member
0 Likes
1,409

Hi,

This may be obvious or common knowledge but wasn't for me. When specifying a https location for a dynamic image it doesn't appear. It needs to be http.

Just in case this happens to someone else.

I still haven't figured out if I can change the database connection of reports that have CommandTables in them yet though?

P

View Entire Topic
Former Member
0 Likes

Hi Ted,

It looks like the data returned from CrystalReportViewerHandler is incorrect.

The data going through Fiddler I presume is the data returned from the server before it hits IE.

A direct https request to the image using IE displays the image correctly.

i.e

https://devpc1:8080/WebApp/reports/report_logo.jpg

The Ajax request sent by Crystal report viewer to

/WebApp/CrystalReportViewerHandler?dynamicimage=crystal124084376698012051.png

with the parameter set to https://devpc1:8080/WebApp/reports/report_logo.jpg returns incorrect data from the server.

This is also the behaviour in Firefox. Firebug in Firefox also shows the same data as Fiddler.

Could it be the case that untrusted https certs cause trouble in the internals of CrystalReportViewerServlet?

Also, using Fiddler, during the loading of the report around the time of the request:

/WebApp/CrystalReportViewerHandler?dynamicimage=crystal124084376698012051.png

I was expecting to see a request to WebApp/reports/report_logo.jpg as it would fetch the image dynamically? At what point does the CrystalReportViewerServlet fetch the image to display?

Regards,

Patrick