Sunday, September 1, 2013

Calling SSRS 2008 R2 reports from Report viewer control of ASP.NET 2.0

Hi Knsb,


Generally, the 401 error occurs when the user is not authorized to the Report Server. Besides, if Reporting Services is configured to use Kerberos, however, we didn't register Service Principal Name (SPN) for the account the Reporting Services is running under, this error will occur as well.


To solve the issue, please follow these steps:



  1. Make sure the user is able to connect to the Report Server. (Using the URL http://<username>/reports to check whether you can access to report server)

  2. If using Kerberos authentication, please make sure SPN is configured correctly.


For more information about Kerbero Authentication and how to register SPN for a report server in Reporting Services, please see the link Syed provided above and the articles below:



Hope this helps.


Regards,

Charlie Liao


If you have any feedback on our support, please click here.




Charlie Liao

TechNet Community Support



No comments:

Post a Comment