ADMD.net connection problem

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Scott Riehl (scott_riehl_at_remove.b-f.com)
Date: 10/11/04


Date: Mon, 11 Oct 2004 10:21:37 -0400

I've just downloaded the ADOMD.net classes and I am trying to use them on a
remote server (Win 2k, AS 2000, sp3 ) The code connects when I run it
against my local machine, but when I switch to the remote server I get the
following:
Server Error in '/WebApplication4' Application.
--------------------------------------------------------------------------------

No connection could be made because the target machine actively refused it
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Net.Sockets.SocketException: No connection could
be made because the target machine actively refused it

Source Error:
Line 34: Dim a As New AdomdConnection
Line 35: a.ConnectionString = "Data
Source=172.21.11.52;provider=MSOLAP;Initial Catalog=foodmart 2000;Integrated
Security=SSPI;"
Line 36: a.Open()
Line 37: Label1.Text = a.SessionID
Line 38: Label2.Text = a.ServerVersion

I'm a little confused by the documentation, but does anything need to be
installed on the server for ADOMD.net to work? I've installed the XML for
Analysis on my machine and the server and still the same problem.



Relevant Pages

  • Re: RDP Connections - Freeze or Reconnect
    ... I immediately swapped the connector and cable out and plugged the cable coming out of the switch into the spare 100mb NIC adapter but still using the connector and extra cable. ... The connection of the 100mb LAN from then on appeared much more stable. ... If I logon and test the RDP connection with a dialup modem through RRAS (Terminal server is also a RAS Server), would you expect it to misbehave if it was I switch problem? ... You mentioned seeing a red X on the server's network connection in an earlier post. ...
    (microsoft.public.windows.terminal_services)
  • Re: Long time to log in....
    ... Is DNS showing the IP address of the SBS server? ... > Is the WAP a wireless router which handles the internet connection, or is it a true Access Point and connected to the switch that wired workstations are connected to? ... > Microsoft MVPs ...
    (microsoft.public.windows.server.sbs)
  • Re: LAN stops, but works after cycling switch?
    ... One NIC is connected to the Internet via a DSL modem connection and the second NIC is connected to the internal network, with the server functioning as a router. ... We have replaced the switch multiple times with different brands and sizes, ...
    (microsoft.public.windows.server.sbs)
  • Re: Cable set up for VPN, BEFvp41 and 2 nic cards
    ... switch) Followed directions on the smallbizserver article. ... internal nic for the internet and the new one for the ... connection from the remote to VPN in, ... server but get "connection closed" after it validates ...
    (microsoft.public.windows.server.sbs)
  • Re: Network connections gets disconnected
    ... Same time we also changed the network Switch as well as did some windows updates on the server. ... Now we hav a software applications which access the loan files from the server and this was working fine before but since all these changes and updates, if the user has a loan file open and does not do anything for few minutes, the software looses the connection with the server and then user mostly looses the data and work. ...
    (microsoft.public.win2000.networking)