SSRS-某些用户的SSAS数据源出错

时间:2018-09-28 10:32:21

标签: reporting-services ssas

我目前正在客户位置设置SSRS报告的安全性。 一些SSRS报告将MD多维数据集作为数据源。 当我尝试与某个用户执行报告时,出现以下错误:

processing!ReportServer_0-1!520!09/28/2018-12:10:30:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: , Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'Cube'. ---> Microsoft.AnalysisServices.AdomdClient.AdomdConnectionException: The connection either timed out or was lost. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.IO.BufferedStream.Read(Byte[] array, Int32 offset, Int32 count)
   at Microsoft.AnalysisServices.AdomdClient.DimeRecord.ForceRead(Stream stream, Byte[] buffer, Int32 length)
   at Microsoft.AnalysisServices.AdomdClient.DimeRecord.ReadHeader()
   at Microsoft.AnalysisServices.AdomdClient.DimeReader.ReadRecord()
   at Microsoft.AnalysisServices.AdomdClient.TcpStream.GetResponseDataType()
   --- End of inner exception stack trace ---
   at Microsoft.AnalysisServices.AdomdClient.XmlaClient.EndRequest(Boolean useBinaryXml)
   at Microsoft.AnalysisServices.AdomdClient.XmlaClient.SendMessage(Boolean endReceivalIfException, Boolean readSession, Boolean readNamespaceCompatibility)
   at Microsoft.AnalysisServices.AdomdClient.XmlaClient.SupportsProperty(String propName)
   at Microsoft.AnalysisServices.AdomdClient.XmlaClient.Connect(ConnectionInfo connectionInfo, Boolean beginSession)
   at Microsoft.AnalysisServices.AdomdClient.AdomdConnection.XmlaClientProvider.Connect(Boolean toIXMLA)
   at Microsoft.AnalysisServices.AdomdClient.AdomdConnection.ConnectToXMLA(Boolean createSession, Boolean isHTTP)
   at Microsoft.AnalysisServices.AdomdClient.AdomdConnection.Open()
   at Microsoft.ReportingServices.DataExtensions.AdomdExceptionHandler.Execute(String connectionString, Action action)
   at Microsoft.ReportingServices.DataExtensions.AdoMdConnectionBase.Open()
   at Microsoft.ReportingServices.Diagnostics.DataExtensionConnectionBase.<>c__DisplayClass5.<OpenConnection>b__4()
   --- End of inner exception stack trace ---;
processing!ReportServer_0-1!520!09/28/2018-12:10:30:: e ERROR: Data source 'Cube': An error has occurred. Details: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'Cube'. ---> Microsoft.AnalysisServices.AdomdClient.AdomdConnectionException: The connection either timed out or was lost. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
processing!ReportServer_0-1!520!09/28/2018-12:10:30:: e ERROR: An exception has occurred in data source 'Cube'. Details: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'Cube'. ---> Microsoft.AnalysisServices.AdomdClient.AdomdConnectionException: The connection either timed out or was lost. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
processing!ReportServer_0-1!520!09/28/2018-12:10:30:: i INFO: DataPrefetch abort handler called for Report with ID=. Aborting data sources ...

我定义了三个AD用户组(管理员,用户和代理)。 对于我的“管理员”和“用户”中的用户,这些报告可以正常工作。 对于“代理”用户,我会收到错误消息。

我已经检查了SSAS MD多维数据集上的角色,此时它们都具有相同的安全性。 这已经是我尝试过的几件事:

  1. 我试图删除“会员资格”部分中的用户,并重新添加了他,但没有任何运气。
  2. 从报告服务器中删除了SSRS报告(有错误)并重新添加,没有任何运气。
  3. 没有任何运气就重新启动了SSRS服务
  4. 使用“管理员”用户执行报告成功(没有错误)
  5. 以“用户”用户执行报告成功(没有错误)
  6. 通过Excel将“代理商”用户连接到多维数据集,成功
  7. 尝试与其他“代理商”用户一起执行SSRS报告,没有任何运气。

我现在没主意了,其他人有建议吗? 注意:我无权访问该广告(该广告通过另一个合作伙伴)

谢谢 凯文

0 个答案:

没有答案