Quantcast
Channel: SQL Server Analysis Services forum
Viewing all articles
Browse latest Browse all 14337

cant connect to SSAS using SQLPS: WARNING: A connection cannot be made. Ensure that the server is running.

$
0
0

Hi,

I cant connect to a remote my SSAS instances using the SQLPS (powershell) tool.

I open the sqlps tool

I type

cd sqlas

cd OLAPServer

I receive this:

WARNING: A connection cannot be made. Ensure that the server is running.

but...

[System.Reflection.Assembly]::LoadWithPartialName( "Microsoft.AnalysisServices")

 $server = new-object Microsoft.AnalysisServices.Server

$server.Connect("Data source=OLAPServer")

I can access other OLAP servers on the network. using the SQLPS tool but not this one.

This server is in cluster and the SQL Browser running, but not associated to the cluster for now.

I try different connection strings (IP address, dns name netbios name, cluster name etc...) nothing works. The target instance is the defautl instance.

so if the native connection work but not the PSProvider, what can I do?

is it possible to connect the PSProvider differently? (so an explicit connection rather than cd CD Server\instance)

Thanks for your help!


Viewing all articles
Browse latest Browse all 14337

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>