Reporting services SSRS错误消息:请求失败,HTTP状态为400:请求错误
管理员通过为我添加Report Viewer 2012更新了开发和测试服务器 我没有访问测试服务器的权限,但我是dev服务器上的管理员。我可以和有测试服务器管理员权限的人一起工作,但我需要知道要查找什么 从Visual Studio 2012部署的我的SSRS报告已从版本10.0转换为Microsoft.ReportViewer.WebForms 11.0 这些报告只能在我的dev服务器上找到,但是当我的QA测试人员使用该报告时,页面第一次显示错误“请求失败,HTTP状态为400:Bad request” 请注意,默认情况下不加载任何报告 一旦我们请求报告,此报告将正确显示,错误消息将消失 我正试图删除此初始错误消息,因为它会让最终用户感到困惑 有人知道吗 提前谢谢 下面是开发人员工具显示的代码Reporting services SSRS错误消息:请求失败,HTTP状态为400:请求错误,reporting-services,ssrs-2012,Reporting Services,Ssrs 2012,管理员通过为我添加Report Viewer 2012更新了开发和测试服务器 我没有访问测试服务器的权限,但我是dev服务器上的管理员。我可以和有测试服务器管理员权限的人一起工作,但我需要知道要查找什么 从Visual Studio 2012部署的我的SSRS报告已从版本10.0转换为Microsoft.ReportViewer.WebForms 11.0 这些报告只能在我的dev服务器上找到,但是当我的QA测试人员使用该报告时,页面第一次显示错误“请求失败,HTTP状态为400:Bad req
<DIV id=ctl00_Body_ReportViewer1_ctl09_VisibilityState ForNonReportContentArea="true" NewContentType="Microsoft.Reporting.WebFormsClient.ReportAreaContent.Error"><INPUT name=ctl00$Body$ReportViewer1$ctl09$VisibilityState$ctl00 value=Error type=hidden> </DIV><INPUT id=ctl00_Body_ReportViewer1_ctl09_ScrollPosition name=ctl00$Body$ReportViewer1$ctl09$ScrollPosition value="0 0" type=hidden><SPAN id=ctl00_Body_ReportViewer1_ctl09_Reserved_AsyncLoadTarget></SPAN>
<DIV style="DISPLAY: none" id=ctl00_Body_ReportViewer1_ctl09_ReportControl><SPAN></SPAN><INPUT name=ctl00$Body$ReportViewer1$ctl09$ReportControl$ctl02 type=hidden><INPUT name=ctl00$Body$ReportViewer1$ctl09$ReportControl$ctl03 type=hidden><INPUT id=ctl00_Body_ReportViewer1_ctl09_ReportControl_ctl04 name=ctl00$Body$ReportViewer1$ctl09$ReportControl$ctl04 value=100 type=hidden> </DIV>
<DIV style="WIDTH: 100%; HEIGHT: 100%" id=ctl00_Body_ReportViewer1_ctl09_NonReportContent>
<DIV style="FONT-FAMILY: Verdana; FONT-SIZE: 8pt">
<UL>
<LI style="DISPLAY: inline">The request failed with HTTP status 400: Bad Request.</LI></UL></DIV></DIV>
请求失败,HTTP状态为400:错误请求。
这是aspx文件中的代码:
<asp:UpdatePanel ID="TFD_UP" runat="server">
<ContentTemplate>
<rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" Font-Size="8pt"
ProcessingMode="Remote" Height="100%" Width="100%" PromptAreaCollapsed="True"
ShowParameterPrompts="False" ShowPromptAreaButton="False"
ShowBackButton="False" ShowFindControls="False" ShowPrintButton="False"
ShowRefreshButton="False" ShowZoomControl="False"
></rsweb:ReportViewer>
<rsweb:ReportViewer runat="server"></rsweb:ReportViewer>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="btnClick" EventName="Click" />
</Triggers>
</asp:UpdatePanel>
您可能有权访问具有正确权限的文件夹(或报表项本身),但无权访问目录。通过直接进入SSRS服务器检查目录的权限通常:
http: (servername)/Reports
单击“文件夹设置”,然后会显示安全性。如果希望连接的根不弹出错误,则应在此处添加相关用户。一般来说,SSR可以是项配置集、子项目录(也可以是多个目录)或根目录集。通常,在代码中连接到SSRS时,主登录页是上面显示的点,除非您在代码隐藏或配置中指定其他起点。长话短说,将2008年的解决方案升级到2013年,最初部署良好,然后在部署除两个报告外的所有报告时开始部署。在Fiddler中跟踪服务调用显示了数据源的密码字段中的垃圾。一旦我在每个失败报告的数据源上重新输入密码,错误就消失了。谢谢,我们可以调查一下,但是您知道为什么升级到最新版本会导致此问题吗?我不确定为什么会发生这种情况,因为大多数升级都会使用策略设置。我只是从您描述的内容中知道,似乎父对象的权限不同。这可能是web表单处理方式的改变,我不确定。我只知道,无论前端在打什么电话,SSR的访问都是一个常见问题。