1

요약하면 문제는 보고서 뷰어에 포함 된 보고서를 보려고하면 다음과 같은 스택 추적과 함께 401 Unauthorized 오류가 발생한다는 것입니다.보고서 뷰어에 401 권한이 없음

  1. 내 컴퓨터 (Windows Vista를 실행)에 IIS 실행보고 서비스를 모두 있습니다

    at Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.GetSecureMethods() 
        at Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.IsSecureMethod(String methodname) 
        at Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.LoadReport(String Report, String HistoryID) 
        at Microsoft.Reporting.WebForms.ServerReport.GetExecutionInfo() 
        at Microsoft.Reporting.WebForms.ServerReport.SetParameters(IEnumerable`1 parameters) 
        at ReportingObject.RenderReport(ReportViewer reportViewer, ReportParameter[] param) in C:\Projects\RBDCReportMapIntelligence\RBDCReportMapIntelligence\ReportingObject.cs:line 41 
        at Report.btnViewReport_Click(Object sender, EventArgs e) in c:\Projects\RBDCReportMapIntelligence\RBDCReportMapIntelligence\Report.aspx.cs:line 126 
        at System.Web.UI.WebControls.Button.OnClick(EventArgs e) 
        at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) 
        at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) 
        at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) 
        at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) 
        at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 
    

    여기에 자세한 내용입니다.

  2. 나는 내 컴퓨터의 로컬 관리자이지만 시스템 관리자는 아닙니다.
  3. this 게시물에 따라 액세스 권한을 부여하도록보고 서비스를 구성했습니다 (주변의 일반적인 해결책으로 보입니다). 하지만 이렇게해도 IE를 관리자로 실행하지 않으면 보고서 관리자를 볼 수 없습니다.
  4. IIS는 모든 사이트에 대해 DefaultAppPool로 익명 인증을 사용할 수 있으며 어떤 기능을 사용하지 않아야하는지 잘 모르겠습니다. DefaultAppPool은 Identity로 설정된 NetworkService가있는 통합 관리 파이프 라인 모드입니다.
  5. 변경할 필요가있는 VS 설정이 있는지 잘 모르겠습니다.
  6. 나는뿐만 아니라 웹과 유래에보고 시도

보고서 서버에 연결하기위한 (그물에 많은 예제에 따라) IReportServerCredentials 인터페이스를 구현하는 클래스를 가지고 내가 가진 그 솔루션에서 많은 것을 시도했지만 아무것도 도움이되지 않습니다.

누군가 도움이 될 수 있다면 좋을 것입니다. 더 자세한 내용을 질문에 추가해야하는지 알려주세요.

답변

2

나는하여이 작업을 얻었다 :

  1. 지금 나에 네트워크 서비스 및 실행에서 실행되는 새로운 응용 프로그램 풀을 만든 관리자
  2. 로 IE를 실행하지 않고 보고서 관리자에서 볼 수 있습니다 UAC를 끄기 해당 응용 프로그램 풀의 응용 프로그램
  3. 네트워크 서비스 계정에서 Reporting Services를 실행 중입니다.

다른 사람에게 도움이되기를 바랍니다.

관련 문제