Docker + SSAS + Windows容器通信

问题描述 投票:0回答:1

Docker + SSAS + Windows容器通信

我有一个在IIS中运行的应用程序在一个windows容器中.我有一个sql server DB在同一服务器中,但在任何容器之外.这是很好的工作,但现在我添加了一个立方体在SSAS服务在同一sql服务器中,但应用程序不能连接与SSAS......

注意事项

  1. 防火墙被禁用
  2. SSAS被配置为接受EVERYONE连接
  3. 从容器中我可以进行telnet到ip和端口(我也有ping)。

当应用程序试图连接到SSAS时,我在日志中出现了这个错误。

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 conn
ction 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.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---                                                                                                                                                                                                                                 e
   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.AnalysisServi`enter code here`ces.AdomdClient.TcpStream.GetResponseDataType()
   --- End of inner exception stack trace ---
   at Microsoft.AnalysisServices.AdomdClient.XmlaClient.EndRequest()
   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 Ors.Components.Pivot.Dapper.PivotDao`1.Connect(ExtendedCube cube, String connectionCustomData)
   at Ors.Components.Pivot.Dapper.PivotDao`1.LoadDimensions(ExtendedCube cube, XElement xml)
   at Ors.Components.Pivot.Dapper.PivotDao`1.LoadCubeConfiguration(ExtendedCube cube, Boolean reload)
   at Ors.Components.Pivot.Dapper.PivotDao`1.Load(Boolean force)
sql-server docker window ssas
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.