我对SSAS的AdomdConnection遇到了问题。它在99%的情况下都工作得很好,但有时我会得到以下错误:
2012-07-25 09:58:47.5286|ERROR|BI.AdoMD.CubeConnectionAttribute|Microsoft.AnalysisServices.AdomdClient.AdomdConnectionException: A connection cannot be made. Ensure that the server is running. ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
at System.Net.Sockets.TcpClient..ctor(String hostname, Int32 port)
at Microsoft.AnalysisServices.AdomdClient.XmlaClient.GetTcpClient(ConnectionInfo connectionInfo)
--- End of inner exception stack trace ---
at Microsoft.AnalysisServices.AdomdClient.XmlaClient.GetTcpClient(ConnectionInfo connectionInfo)
at Microsoft.AnalysisServices.AdomdClient.XmlaClient.OpenTcpConnection(ConnectionInfo connectionInfo)
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 BI.AdoMD.CubeConnectionAttribute.OnActionExecuting(ActionExecutingContext filterContext) in .我似乎找不出是什么导致了这个问题。
我检查了运行SSAS的服务器,它看起来没有身份验证/防火墙问题。
希望有人以前遇到过这个问题,并知道是什么导致了这些随机连接问题。
-Rick
发布于 2012-07-26 05:30:57
尝试连接到目标计算机上的TCP端口时出现超时。
连接尝试失败,因为连接方在一段时间后未正确响应,或已建立的连接失败,因为连接的主机在System.Net.Sockets.TcpClient..ctor(字符串主机名,Int32端口)上响应失败
这可能是服务器的暂时加载问题,也可能是偶尔发生的一些网络问题。无论哪种方式,它都不一定与SSAS直接相关。
发布于 2012-07-30 19:56:21
根据Nat上面的回答,当多维数据集处于负载状态时,我偶尔会看到这种情况-它似乎会对传入的请求进行“排队”。有没有可能多维数据集同时被许多查询命中,或者几个繁重的查询?这种情况会发生在多维数据集处理时间上吗?
当我诊断出类似的情况时,我发现在Perfmon中为连接和查询设置计数器,并将其设置为将它们写入磁盘以便以后进行交叉检查,这是非常有价值的。
https://stackoverflow.com/questions/11650506
复制相似问题