Solved

The request failed with HTTP status 401: Unauthorized.

Posted on 2012-12-27
1
5,714 Views
Last Modified: 2012-12-29
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
Comment
Question by:rcowen00
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 15

Accepted Solution

by:
santhimurthyd earned 500 total points
ID: 38726259
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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question