Hi,
I am bit confused here as there is no adomd.net out there.
Is this an asp.net application?
--
Miha Markic [MVP C#] - RightHand .NET consulting & software development
miha at rthand com
www.rthand.com
"pzhang" <(E-Mail Removed)> wrote in message
news:B8993677-D7A7-416D-A8C3-(E-Mail Removed)...
> try to use adomd .net beta to connect to a server. I got the XMLA 1.1
working fine. I also got the ADOMD 2.7 working fine with my c#. However,
Adomd .net just won't work for me.
>
> using ADOMDNET = Microsoft.AnalysisServices.AdomdClient;
> .......
> AdomdConnection cnn = new ADOMDNET.AdomdConnection();
> cnn.ConnectionString = "Provider=MSOLAP.2;Data
Source=localhost;Catalog=FoodMart 2000";
> cnn.Open();
>
> I keep on getting a System.Net error when it try to open a socket:
> "No connection could be made because the target machine actively refused
it"
>
> if I use:
> AdomdConnection cnn = new ADOMDNET.AdomdConnection(true);
> cnn.ConnectionString = "Provider=MSOLAP.2;Data
Source=localhost;Catalog=FoodMart 2000";
> cnn.Open();
>
> then cnn has a open state. However, once I try to access the cubedef, I am
getting another error:
> "msmgdsrv.dll not found"
>
> Not sure what this dll is nor why it need to be called.
>
> Anyone knows why???
>
> Thanks in advance
>
>