?
Solved

The request failed with HTTP status 401: Unauthorized.

Posted on 2012-12-27
1
Medium Priority
?
5,988 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 2000 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses
Course of the Month10 days, 15 hours left to enroll

770 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