本文介绍了请求失败,HTTP状态为401:未授权.访问ssrs2008中的服务器报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有两个带有以下操作系统的系统

1)Windows Server 2008
2)Windows XP Professional SP3

在Windows Server 2008中,我创建了SSRS报告并进行了部署. (URL-http://123.123.1.123:8080/reports)报告服务器url;在XP中,我创建了一个存在reportviewer的应用程序.以下是我的代码.

Hi,

I''ve two system with following operating systems

1) Windows Server 2008
2) Windows XP Professional SP3

In windows server 2008 I''ve created SSRS reports and deployed. (URL-- http://123.123.1.123:8080/reports) report server url; and in XP I''ve created an application in which reportviewer is present. Following is my code behind.

MyReportViewer.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Remote;
                MyReportViewer.ShowCredentialPrompts = true;
                MyReportViewer.ServerReport.ReportServerUrl = new Uri("http://IP:8080/reports";);
                MyReportViewer.ServerReport.ReportPath = "/sample/report";
                MyReportViewer.ServerReport.Refresh();



当我执行应用程序时,显示以下错误.

请求失败,HTTP状态为401:未经授权"

我尝试将所有人"权限授予报表管理器中已部署的文件夹.但它显示相同的消息



When I execute the application the following error is displayed.

"The request failed with HTTP status 401: Unauthorized"

I''ve tried giving the " everyone" permission to the deployed folder in report manager. but it is displaying the same message

推荐答案


这篇关于请求失败,HTTP状态为401:未授权.访问ssrs2008中的服务器报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-21 02:08