jovalle Posted July 6, 2007 Report Share Posted July 6, 2007 Hi everybody <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /> I am evaluating Chart FX and I am doing my first program with ChartFx Olap Extension. I got an error when I try to show the WebForm in my localhost page. I am using C# and Ms Analysis Services 2000. The database already exist in my PC. This is the code: //Create Olap extension object OlapExtension Olap1 = new OlapExtension(); //Create ADOMD.NET Data Provider Object AdoMultiDimensionalData AdoMDnet = new AdoMultiDimensionalData(); //Create Connection string for FoodMark Cube string connStr="Provider=msolap; Data Source=MyPC; Initial Catalog=Tutorial;"; //MDX Statement to Select Data string mdxStr = "SELECT {[store].[store Country].[uSA].Children} ON COLUMNS,{CROSSJOIN(Descendants([Gender]),Descendants([Time].[1997]))} ON ROWS From [sales]"; //Connect to Analysis Services using ADOMD.NET AdoMDnet.Connect(connStr, mdxStr); //Set ADOMD.NET DataProvider to OLAP Extension Olap1.DataSource= AdoMDnet; //Add OLAP Extension to chart Chart1.Extensions.Add(Olap1); Link to comment Share on other sites More sharing options...
Frank Posted July 13, 2007 Report Share Posted July 13, 2007 We are unable to reproduce this problem. Are you sure it is coming from Chart FX? Do you have a sample program that reproduces the problem? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.