• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 6844
  • Last Modified:

The request failed with HTTP status 401: Unauthorized.

I have a report created that works in when I run locally, but when I deploy it to the hosted report server it works when I access it on the report server.  When I run it from my application using a report viewer I get "The request failed with HTTP status 401: Unauthorized.".  Any suggestions?  Thanks!
0
rcowen00
Asked:
rcowen00
1 Solution
 
santhimurthydCommented:
Check under which account your Asp.Net application works and that account got provisioned to execute the report.

Some of the reason to cause 401 are

User is not authorized with the Report Server.
May be Reporting Services is configured to use Kerberos, where as the Service Principal Name(SPN) is not registered for the account under Reporting Services is running.

Check with the below steps for configuration of Windows Authentication
http://msdn.microsoft.com/en-us/library/cc281253(v=sql.100).aspx

check this URL, whether is it helps with your infrastructure
http://www.codeproject.com/Questions/148974/Sql-2008-Report-server-Error-HTTP-status-401-Unaut
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now