SSRS 2012:无法访问 ReportExecution2005.asmx

SSRS 2012: Cannot access ReportExecution2005.asmx

SSRS 有两个我关心的 WebService 端点:ReportService2010.asmx 和 ReportExecution2005.asmx。

我可以正常访问ReportService2010服务。

http://[report_server]/ReportServer/ReportService2010.asmx

但是当我尝试访问位于报表服务器上相同位置的 ReportExecution2005.asmx 时。我收到一个错误。

http://[report_server]/ReportServer/ReportExecution2005.asmx

The XML page cannot be displayed 
Cannot view XML input using XSL style sheet. Please correct the error and 
then click the Refresh button, or try again later. 

--------------------------------------------------------------------------------

A string literal was expected, but no opening quote character was found.     
Error processing resource

编辑:我正在使用自定义身份验证 dll,但我不确定在尝试访问服务 wsdl 时这是否重要。

更新:这似乎是一个访问被拒绝的错误。虽然我不确定为什么拒绝访问一项服务,但不拒绝另一项服务。

已修复更新: 我更新了我的 web.config 并添加了以下配置:

<location path="ReportExecution2005.asmx"> <system.web> <authorization> <allow users="*"/> </authorization> </system.web> </location>

已修复更新: 我更新了我的 web.config 并添加了以下配置:

<location path="ReportExecution2005.asmx"> <system.web> <authorization> <allow users="*"/> </authorization> </system.web> </location>

对遇到此问题的其他人稍作修改。 创建自定义安全扩展的部分说明涉及将这些行添加到 SSRS web.config:

<authorization> 
   <deny users="?" />
</authorization> 

如 README.MD 所说,"this will deny unauthenticated users the right to access the report server." 如果您的目标是启用匿名访问,则需要更改此行。

一个选项是 OP 在上面所做的:

<authorization>
   <allow users="*"/>
</authorization>

另一种是完全删除违规行:

<authorization>
authorization>