SSDT Microsoft.AnalysisServices.Server connect throwing "Value cannot be null error"

Viewed 381

I am trying to connect OLAP cube server from SSIS using script task(C# .net). I am getting following error

"Value cannot be null".

I am using the SSDT 2017.

The same was working from BIDS 2008. But not working on the SSDT 2017.

Microsoft.AnalysisServices.Server server = new Microsoft.AnalysisServices.Server();
server.Connect("localhost");

Error Message : Value cannot be null. Inner Exception : null

1 Answers
Related