When running reports on SSRS server: The server responded with a status of 401 (unauthorized)

Myra Sircy 1 Reputation point
2021-04-15T20:38:03.823+00:00

When trying to run a report from the SSRS website we receive "Failed to load resource: the server responded with a status of 401 (Unauthorized). DevTools failed to load SourceMap: Could not load content for http://SERVERNAME/reports/assets/css/bootstrap.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE.

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.
3,061 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ZoeHui-MSFT 41,491 Reputation points
    2021-04-16T07:50:31.553+00:00

    Hi @Myra Sircy ,

    Generally, the 401 error occurs when the user is not authorized to the Report Server.

    If Reporting Services is configured to use Kerberos, we didn't register Service Principal Name (SPN) for the account, the error will occur as well.

    You may refer below for more message.

    configure-windows-authentication-on-the-report-server
    register-a-service-principal-name-spn-for-a-report-server

    Also you may check the error log for more details.

    In SQL Server Reporting Services 2016 or earlier: C:\Program Files\Microsoft SQL Server\MSRS13.MSSQLSERVER\Reporting Services\LogFiles

    In SQL Server Reporting Services 2017 later: C:\Program Files\Microsoft SQL Server Reporting Services\SSRS\LogFiles

    About the DevTools failed error, you may also refer this to see if you have enabled css source map or not.
    https://stackoverflow.com/questions/61205390/when-adding-a-javascript-library-chrome-complains-about-a-missing-source-map-w

    Regards,

    Zoe


    If the answer is helpful, please click "Accept Answer" and upvote it.

    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.
    Hot issues October

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.