Aricie
The DNN Expert for your web project
DNN Community Forums

Images in report only work when site is accessed unencrypted.

Sort:
You are not authorized to post a reply.
Author
Messages


SafeTinspector











New Member



Posts:




New Member



    When I view a report through the module over http, there is no problem.

    If I view the report through the module over https, the images are missing again, like they were when the httphander entry was missing.

     

    Here is a iis log entry for a successful image load over http:

    2010-09-03 03:22:35 GET /DesktopModules/Aricie.CrystalReportViewer/CrystalImageHandler.aspx dynamicimage=cr_tmp_image_51fde02d-1a1d-4c9c-83fa-f32f67de1745.png - 67.149.202.225 HTTP/1.1 Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0;+InfoPath.2) http://www.rcalliance.com...d=2&tabid=85 200 7119

    Here is the log entry for a failed image load over https:

    2010-09-03 02:57:57 GET /DesktopModules/Aricie.CrystalReportViewer/CrystalImageHandler.aspx dynamicimage=cr_tmp_image_ee349c1d-273a-42b4-b5e8-99b75954f8e8.png - 67.149.202.225 HTTP/1.1 Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0;+InfoPath.2) https://datanow.rcallianc...d=2&tabid=85 200 684

    Further, if you right-click on the broken image box and select "view image" it successfully displays the graphic, but the url is no longer https, but is now back to being http.

    Almost as if the viewer CAN'T encrypt the images... any ideas?



    SafeTinspector











    New Member



    Posts:




    New Member



      OK, I think I might be getting bit by this problem:

      http://blog.laksha.net/20...-dotnetnuke-and.html

      It seems that a fix might be to somehow get the report to be seen as a page and then use the "Secure" control for it, or something like that?

      Am I on the wrong track here? I assume DNN Is doing it to me because of the url change when I attempt to view the graphic.



      Deleted User











      New Member



      Posts:




      New Member



        Hi,

        We 've not tried to see crystal report over https yet. As soon as possible, we'll try to do it.

        Concerning your solution (on blog laksha), we'll also try.
        Maybe it works if we add CrystalImageHandler.aspx in condition like the example.

         



        SafeTinspector











        New Member



        Posts:




        New Member



          Thank you, Matt.

          Also to be perfectly clear, this occurs only when enforce security is enabled on the site.

          You are not authorized to post a reply.