Rab*_*uin 4 sql-server web-services reporting-services
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
Run Code Online (Sandbox Code Playgroud)
编辑:我正在使用自定义身份验证 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>