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,422

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
ted_ueda
Product and Topic Expert
Product and Topic Expert
0 Likes

As for the HTTPS request, is it the web viewer?

Sincerely,

Ted Ueda

Former Member
0 Likes

Hi Ted,

Thanks for your replies.

I've narrowed down the failure with my command table. The error was about an invalid table alias which I may have misunderstood as the same problem as people were having with CommandTables and changing Database source.

What it boiled down to was one particular report had an "&" in the table alias name, which throws an exception in replaceConnection. When the table alias was changed in the report I could then change the datasource no problem.

With regards the https dynamic image, yes it's the web viewer.

Kind regards,

Patrick

ted_ueda
Product and Topic Expert
Product and Topic Expert
0 Likes

As for the image, is the http URL being sent incorrect (i.e., when you specify https, is it still trying to connect to http), or is the image being retrieved but not shown?

Sincerely,

Ted Ueda

Former Member
0 Likes

Hi Ted,

I'm not sure I understand your question fully but I'll try give more info.

I have a parameter called Logo. The value of that parameter is a https url.

The report loads and the image is not present.

When I enter the url into a web browser the image loads correctly so the URL is correct.

If I change the url to a http location it will display in the report.

In Firebug I can see a request like this:


https://localhost:8080/WebApp/CrystalReportViewerHandler?dynamicimage=crystal124058671923846987.png

Firebug seems to think it has returned a blank image of size 262 * 262. The image I request is 113 * 113.

When I use http the request is this:


http://localhost:8888/WebApp/CrystalReportViewerHandler?dynamicimage=crystal12405854284818789047937565519495.png

It returns the correct image.

If I can give more info please let me know. I can just use a http location, that's no problem. Perhaps certs is causing it to not work.

Regards,

Patrick

ted_ueda
Product and Topic Expert
Product and Topic Expert
0 Likes

If you use a HTTP analyzer like [Fiddler|http://www.fiddler2.com/fiddler2/] or [Charles|http://www.charlesproxy.com/], do you see any error messages associated with the HTTPS request?

Sincerely,

Ted Ueda