question

MyraSircy-0683 avatar image
0 Votes"
MyraSircy-0683 asked ZoeHui-MSFT edited

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

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
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ZoeHui-MSFT avatar image
0 Votes"
ZoeHui-MSFT answered ZoeHui-MSFT edited

Hi @MyraSircy-0683,

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



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.