I still have problems with current build (1328).
I use following method to connect:
Provider=MSOLAP;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=DATABASE_NAME;Data Source=SERVER_NAME
Session.OlapProvider = new AdomdDataProvider
ConnectionSettings = new AdomdConnectionSettings()
ConnectionString = "The connection string above",
Database = "The database name",
Cube = "The cube name"
I have created and tested the connection string by creating an UDL file and the "Test Connection" works correctly.
The error is raised on the following row:
this.pivot.DataProvider = Session.OlapProvider;
and the exception is:
Please note that the following row
this.fieldList.DataProvider = Session.OlapProvider;
don't raise errors and Session.OlapProvider is not null
after initialization, so the problem seems to be in in PivotGrid
and not in PivotFieldList.
Please help me to understand what is changed after version 1307.