Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

SSRS Reporting Application

Posted on 2014-11-04
3
Medium Priority
?
144 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 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

In this short article I will be talking about two functions in the SQL Server Reporting Services (SSRS) function stack.  Those functions are IIF() and Switch().  And I'll be showing you how easy it is to add an Else part to the Switch function. T…
Have you ever had to extract data from a Microsoft SQL Server database and export it to an Excel file, but did not want to use a DTS package? The concept in this article is not new, but it is the answer and will also work on 64-bit SQL boxes.   …
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

879 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