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
Solved

SSRS Reporting Application

Posted on 2014-11-04
3
117 Views
Last Modified: 2015-02-22
I am trying to access a page in my SQL SSRS Reporting Application and I am getting the following error, I'm stuck and don't know where to go from here.  What do I do now?:

Server Error in '/' Application.
--------------------------------------------------------------------------------

The request failed with HTTP status 401: Unauthorized.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.WebException: The request failed with HTTP status 401: Unauthorized.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  

Stack Trace:


[WebException: The request failed with HTTP status 401: Unauthorized.]
   System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +733978
   System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +345
   reports.hillintl.com.ReportingServices2010.ReportingService2010.ListChildren(String ItemPath, Boolean Recursive) in C:\Users\H34829\documents\visual studio 2013\Projects\reports.hillintl.com\reports.hillintl.com\Web References\ReportingServices2010\Reference.vb:948
   reports.hillintl.com.hiReporter.fnListReports() in C:\Users\H34829\documents\visual studio 2013\Projects\reports.hillintl.com\reports.hillintl.com\hiReporter.aspx.vb:1175
   reports.hillintl.com.hiReporter.Page_Load(Object sender, EventArgs e) in C:\Users\H34829\documents\visual studio 2013\Projects\reports.hillintl.com\reports.hillintl.com\hiReporter.aspx.vb:78
   System.Web.UI.Control.LoadRecursive() +71
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3178
0
Comment
Question by:VBBRett
  • 2
3 Comments
 
LVL 39

Accepted Solution

by:
lcohan earned 500 total points
ID: 40424030
That means the login you are using to access that page has no right in SSRS for that report page

http://www.mssqltips.com/sqlservertip/2793/sql-server-reporting-services-2012-permissions/.
0
 

Author Comment

by:VBBRett
ID: 40424592
Then why is it that when I step through the following lines of code, my domain is blank, my user id is blank and my password is blank?

 Protected Sub Page_InitComplete(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.InitComplete
        myReportService.Credentials = System.Net.CredentialCache.DefaultCredentials
        'myReportService.UseDefaultCredentials = True

    End Sub

Open in new window

0
 

Author Comment

by:VBBRett
ID: 40624158
You were right.  It turns out that I was not connected to the corrext service url and that is why I was unable to get access.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Suggested Solutions

Title # Comments Views Activity
when creating a subscription get error 1 47
SQL Server 2014 - Report Server - Stored Procs 8 61
SSRS 2012 URL 11 66
SSRS Deployment problem 5 65
Time Corrections for Reports Working with a report, we made some interesting discoveries about the time corrections/updates We are using the following Parameters: Starting Entered Date (Date) formatted as Data type: "Date/Time" Ending Entered …
A recent question popped up and the discussion heated up regarding updating a COMMENTS (TXT) field in a table using SSRS. http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/MS-SQL_Reporting/Q_27475269.html?cid=1572#a37227028 (htt…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

860 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