Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/reporting-services/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/tfs/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Sharepoint 2010 使用SSRS HTML查看器的基于表单的身份验证SharePoint 2010_Sharepoint 2010_Reporting Services - Fatal编程技术网

Sharepoint 2010 使用SSRS HTML查看器的基于表单的身份验证SharePoint 2010

Sharepoint 2010 使用SSRS HTML查看器的基于表单的身份验证SharePoint 2010,sharepoint-2010,reporting-services,Sharepoint 2010,Reporting Services,我正在以集成模式(受信任)运行SSRS,在Sharepoint 2010中尝试在基于表单的身份验证网站上使用HTML查看器时遇到问题。我发现了几篇关于在FBA中使用报表查看器的文章;然而,据我所知,我需要使用HTML查看器,因为最终目标是为最终用户无缝地生成PDF文件。我收到的错误是“此SharePoint网站上的Reporting Services终结点出现未知错误”。我提交的Url格式如下: http:///_vti_bin/ReportServer?//.rdl&rs:Command=Re

我正在以集成模式(受信任)运行SSRS,在Sharepoint 2010中尝试在基于表单的身份验证网站上使用HTML查看器时遇到问题。我发现了几篇关于在FBA中使用报表查看器的文章;然而,据我所知,我需要使用HTML查看器,因为最终目标是为最终用户无缝地生成PDF文件。我收到的错误是“此SharePoint网站上的Reporting Services终结点出现未知错误”。我提交的Url格式如下: http:///_vti_bin/ReportServer?//.rdl&rs:Command=Render&rs:Format=PDF. 一些附加信息,如果我使用默认站点名称而不是基于表单的名称,则请求有效

所以我的问题有两个,我应该在FBA里做到这一点吗?如果不是,为客户制作PDF报告的最佳途径是什么


谢谢

首先,使用SharePoint运行SSR是一件棘手的事情。为了让SSR能够接收用户凭据,它必须在kerberos模式下运行。否则,对SSRS的请求将作为匿名登录(这就是您获得401的原因)

现在,对于PDF,您有几个选项:

  • 直接调用SSRS Web服务并生成PDF
  • 设置订阅并将其生成为PDF,可以发送到文件系统、电子邮件等
  • 执行您现在正在执行的操作,但要启用kerberos

  • 我相信您已经这样做了,但请确保用户可以访问ssrs报告所在的服务器。谢谢,我们正在以受信任的身份运行与ssrs服务器的连接。我以为这会处理请求的任何权限问题,不是吗?谢谢Dominic,我昨天决定尝试web服务,我在加载报告时遇到了一些困难。我收到以下错误:参数“UserToken”的值无效。-->Microsoft.ReportingServices.Diagnostics.Utilities.InvalidParameterException:我按如下方式调用加载报告方法-rs.LoadReport(trusteduserHeader、reportPath、historyID、out serviceInfo、out execInfo);我还将服务帐户的用户令牌添加到受信任的头中。有什么建议吗??谢谢