【问题标题】:SQL Server Report Builder - "Object moved to" message when connecting to SharePoint 2013 listsSQL Server 报表生成器 - 连接到 SharePoint 2013 列表时出现“对象已移至”消息
【发布时间】:2014-05-29 19:06:43
【问题描述】:

我无法将 SQL Server Report Builder 2012 连接到 SharePoint 2013 以从 SharePoint 列表创建报告。这是我在尝试创建 DataSet 时收到的错误消息

报表服务器数据库模式为Native,因为2012版本貌似不能设置SharePoint集成模式,新建报表服务器数据库时该选项不可用。

===================================

An error occurred when accessing the specified SharePoint list. The connection string might not be valid. Verify that the connection string is correct.  (Microsoft SQL Server Report Builder)

------------------------------
Program Location:

   at Microsoft.ReportingServices.DataExtensions.SharePointList.SPRemoteConnection.ExecuteServiceRequest(ServiceRequest request)
   at Microsoft.ReportingServices.DataExtensions.SharePointList.SPRemoteConnection.GetLists()
   at Microsoft.ReportingServices.QueryDesigners.SharePoint.SharePointTables.Refresh()
   at Microsoft.ReportingServices.QueryDesigners.SharePoint.QueryDesigner.Presenter.ValidateConnection()
   at Microsoft.ReportingServices.QueryDesigners.SharePoint.SharePointQueryDesigner.InitializeQueryDesigner()
   at Microsoft.ReportingServices.QueryDesigners.InternalQueryDesignerWrapper.InitializeDesigner()
   at Microsoft.ReportingServices.QueryDesigners.InternalQueryDesignerWithGenericModeWrapper.Initialize()

===================================

The request failed with the error message:
--
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="/_login/default.aspx?ReturnUrl=%2fsites%2fjob1%2f_vti_bi%2fLists.asmx%2f_vti_bin%2fLists.asmx">here</a>.</h2>
</body></html>

--. (System.Web.Services)

------------------------------
Program Location:

   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at Microsoft.ReportingServices.DataExtensions.SharePointList.SPListService.GetListCollection()
   at Microsoft.ReportingServices.DataExtensions.SharePointList.SPRemoteConnection.<>c__DisplayClass1.<GetLists>b__0(SPListService listSvc)
   at Microsoft.ReportingServices.DataExtensions.SharePointList.SPRemoteConnection.ExecuteServiceRequest(ServiceRequest request)

这是数据源配置

对于身份验证,我们在执行帐户中使用相同的服务帐户,这就是此数据源中提供的服务帐户。

有什么想法吗?谢谢。

【问题讨论】:

    标签: sql-server sql-server-2012 sharepoint-2013


    【解决方案1】:

    通过在 SharePoint 管理中心扩展 Web 应用程序已解决此问题。新的 Web 应用使用相同的应用程序池,但在不同的端口上,并使用 基本身份验证

    报表生成器似乎使用基本身份验证,而 Web 应用也必须使用基本身份验证。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多