WebViewer within a Secured Site

Posted by: david.kucharski on 18 May 2018, 6:43 am EST

    • Post Options:
    • Link

    Posted 18 May 2018, 6:43 am EST

    I have an WebViewer on my page.

    <ActiveReportsWeb:WebViewer ID=“WebViewer2” runat=“server” height=“581” width=“861” ViewerType=“AcrobatReader”>

    </ActiveReportsWeb:WebViewer>

    When I go to that page in Chrome or Edge, I am seeing an issue with displaying the contents. When I inspect the page, there is a call do a .AR11 file that is using HTTP instead of HTTPS. All other calls are using HTTPS. Is there a setting I need to change for the .AR11 call to use HTTPS?

  • Posted 20 May 2018, 8:06 pm EST - Updated 30 September 2022, 9:17 am EST

    Hello,

    I am unable to replicate the problem at my end. AR call all request using “HTTPS”. Please refer the attached image.

    Could you please tell the AR version that you are using. Also, if possible could you please share the sample with us so that I can replicate at my end.

    Thanks,

    Mohit

  • Posted 20 May 2018, 11:55 pm EST

    The same application from my previous post has the above error in it also. Again, non-secured site works fine, secured server error.

    WebApplication10.zip

  • Posted 21 May 2018, 12:58 am EST

    Mohit below is what my network guy saw with the HTTPS issue.

    Here is what I see happening with the new Active Reports version. Our HTTPS traffic terminates on an F5 Load Balancer and the backend communication is through HTTP. When the ActiveReports.ar11 is returned the URL for the WebViewer it is generating an HTTP link back to the browser since the web server is listening on HTTP. Switching the HTTP in the link to HTTPS manually brings the report right up.

    http://test.nsamedia.com/WebApplication10/ActiveReports.ar11?Token=e4f8c1d6-0990-471b-a5a4-184b4d708a40&Generation=1&Page=1&WebViewerControlClientId=WebViewer1&HtmlViewer=true

    Is there a configuration option in Activereports to always return HTTPS links to the browser? Worst case we may be able to rewrite the URL using an F5 irule but I would consider that a workaround and probably not supported by ActiveReports.

  • Posted 21 May 2018, 6:23 pm EST

    Hello,

    Please try after adding “AccessPoint” and “PublicURI” attribute in “Web.Config” file. Please refer the following line:

    
    <webservice accessPoint="https...servicename.asmx" publicURI=”https://sitename/"></webservice>
    
    
    

    Thanks,

    Mohit

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels