Click here to Skip to main content
15,891,828 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Unable do OLAP connectivity

C#
  using (OleDbConnection connection = new OleDbConnection("Provider=MSOLAP.3;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=Adventure Works DW 2008R2;Data Source=http://demos.telerik.com/olap/msmdpump.dll"))
            {

                connection.Open();
}


What I have tried:

MSOLAP.3
MSOLAP
MSOLAP.5
MSOLAP.4

tried plus

Data Source=https://demos.telerik.com/olap/msmdpump.dll; Initial Catalog=Adventure Works DW 2008R2;Cube Name=Adventure Works;

tried
Posted
Comments
an0ther1 31-Mar-16 0:46am    
Your connection string is incorrect.
The Data Source should point to a machine name or Server URL (EG: http://servername)
Member-515487 31-Mar-16 1:29am    
any test connection string and code can you provide to test
Sinisa Hajnal 31-Mar-16 2:47am    
Just google connection string for your particular provider for examples.
an0ther1 31-Mar-16 19:15pm    
ConnectionStrings.com is the best resource for specific connection strings.
For instance; http://www.connectionstrings.com/olap-analysis-services/

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900