Solved

SSRS Reporting Application

Posted on 2014-11-04
3
116 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SSRS report add paramter listing user running the report 2 59
SSRS  integration 5 96
SSRS Reports - get rid of blank columns 3 66
Visual Studio 2008 book recommendation 6 41
Written by Valentino Vranken. A while ago I wrote an article called Chart Optimization Tips (http://www.experts-exchange.com/articles/Microsoft/Development/MS-SQL-Server/MS-SQL_Reporting/Chart-Optimization-Tips.html).  This article explained how …
A recent questions about how to add SSRS named instances, couldn't find any that talks about SQL server 2008, anyway I decided to help by creating some screen shots. The installation is straightforward, you just pop the SQL server 2008 installati…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

777 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