title: AdomdConnection is giving A connection cannot be made. Ensure that the server is running error
body: <p>I'm using MSOLAP provider to connect Analysis Server. Hence I made a below connection string and try to establish a connection from app/web server to SSAS server</p>
  
  <p>Connection String</p>
  
  <pre><code>Provider=MSOLAP.2; Data Source=172.16.53.3; Initial Catalog=Myyres;
  </code></pre>
  
  <p>Code Snippet Used</p>
  
  <pre><code>   AdomdConnection objAdomdConn = new AdomdConnection();
        objAdomdConn.ConnectionString = a_strConnSting;
        objAdomdConn.Open();
  </code></pre>
  
  <p>Error Occured</p>
  
  <blockquote>
    <p><em>"A connection cannot be made. Ensure that the server is running."</em></p>
  </blockquote>
  
  <p>Stack trace Output</p>
  
  <pre><code>   at Microsoft.AnalysisServices.AdomdClient.XmlaClient.Connect(ConnectionInfo connectionInfo, Boolean beginSession)
     at Microsoft.AnalysisServices.AdomdClient.AdomdConnection.XmlaClientProvider.Microsoft.AnalysisServices.AdomdClient.AdomdConnection+IXmlaClientProviderEx.ConnectXmla()
     at Microsoft.AnalysisServices.AdomdClient.AdomdConnection.ConnectToXMLA(Boolean createSession, Boolean isHTTP)
     at Microsoft.AnalysisServices.AdomdClient.AdomdConnection.Open()
     at StackOverflow.AdoMD.button1_Click(Object sender, RoutedEventArgs e)
  </code></pre>
  
  <p>The same code is working while I running on SSAS server. I'm getting error only at calling from app\web server to SSAS server</p>