on ‎2009 Apr 23 2:26 PM
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
Request clarification before answering.
As for the HTTPS request, is it the web viewer?
Sincerely,
Ted Ueda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.