Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

SSRS Reporting Application

Posted on 2014-11-04
3
Medium Priority
?
135 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
[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
  • 2
3 Comments
 
LVL 40

Accepted Solution

by:
lcohan earned 2000 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Written by Valentino Vranken. Introduction: The first step of creating a SQL Server Reporting Services (SSRS) report involves setting up a connection to the data source and programming a dataset to retrieve data from that data source.  The data…
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 …
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

715 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