SSRS reports not loading in Google chrome and Edge browsers

SQLDBA 21 Reputation points
2022-05-17T14:21:36.35+00:00

SSRS reports loading fine in IE but not loading in Google chrome and Edge browsers. It shows loading..... forever in Chrome and Edge. Please see the attached screenshot.

Environment: SQL server 2019 Standard
Reporting service 2019

202872-2022-05-17-10-17-10.png

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,806 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Joyzhao-MSFT 15,566 Reputation points
    2022-05-18T02:14:11.033+00:00

    Hi @SQLDBA

    A page or script is accessing at least one of navigator.userAgent, navigator.appVersion, and navigator.platform. In a future version of Chrome, the amount of information available in the User Agent string will be reduced.
    To fix this issue, replace the usage of navigator.userAgent, navigator.appVersion, and navigator.platform with feature detection, progressive enhancement, or migrate to navigator.userAgentData.

    What version of Google Chrome are you using? For some newer versions, there are these warnings.

    It's one of the libraries that is using navigator features that Chrome is deprecating. please see: https://blog.chromium.org/2021/05/update-on-user-agent-string-reduction.html

    Here are some quotes from the blogpost:

    "Beginning in M92, we plan to start sending deprecation notices for the navigator.userAgent, navigator.appVersion, and navigator.platform getters in the DevTools Issues tab."

    "If your site, service, library or application relies on certain bits of information being present in the User Agent string such as Chrome minor version, OS version number, or Android device model, you will need to begin the migration to use the User Agent Client Hints API instead."

    The warning message tells you that you use some deprecated resources, namely

    • navigator.userAgent
    • navigator.appVersion
    • navigator.platform

    Search for all of these in the entire codebase and detect all lines that refer to any of these.

    Read some articles about the issue, like this one: https://web.dev/migrate-to-ua-ch/

    The article is likely covering most (or all) the problems you need to solve. Basically there will be limitations in the user agent string. That means that lots of stuff that you use now will no longer be available after a certain update. So, you will need to adjust your Javascript in such a manner that it will have a fallback logic for the data that will no longer be available and will apply the changes necessary where the data will be available even after the change. This is a known problem.

    For more javascript questions, please add such tags for more expert help.
    Best Regards,
    Joy


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Mohammad P 1 Reputation point
    2022-06-25T15:57:40.54+00:00

    Hi
    does anyone has a solution for this problem?


  3. Mohammad P 1 Reputation point
    2022-06-28T02:12:38.75+00:00

    Hi
    we have found the solution, the ssrs tries to load a file with below address:
    https://az416426.vo.msecnd.net/scripts/a/ai.1.0.20.0.js
    due to the security issue, we can't allow the users to download this file on their browser. is there any solution to prevent ssrs to load this file?