我无法将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)
这是数据源配置
对于身份验证,我们在执行帐户中使用相同的服务帐户,这是此数据源中提供的帐户。
有什么想法吗?感谢。
答案 0 :(得分:0)
通过在SharePoint管理中心中扩展Web应用程序来解决此问题。新的Web应用程序使用相同的应用程序池,但它位于不同的端口,并使用基本身份验证
看起来Report Builder使用基本身份验证,Web应用程序也必须使用基本身份验证。