Re: Problems Connecting using ADOMD.NET

From: Mary Potapova [MS] (marypo_at_online.microsoft.com)
Date: 06/02/04


Date: Wed, 2 Jun 2004 11:59:54 -0700

hello,

could you please clarify if you use the rtw version of adomd.net?
could you give more details on the Inner Exception (you get in ConnectTo=8.0
case)? (what is the message/stack, does it have inner exception itself?)

> >> InnerException:
> >> {System.Runtime.InteropServices.COMException}

thank you.

-- 
- mary
This posting is provided "AS IS" with no warranties, and confers no rights.
"JS" <jamie.shaske@gbmail.com> wrote in message
news:16a1801c4481b$c6408310$a401280a@phx.gbl...
> I have MSXML4 SP2 Parser and SDK installed according to my
> add remove programs on my dev machine.
>
> >-----Original Message-----
> >Be sure you have installed msxml4, it is required and you
> get that exact
> >error if you don't have it installed on the dev machine.
> >
> >Zach
> >
> >JS wrote:
> >> I am having some problems when trying to connect to my
> >> server when using the ADOMD.NET client. I have no
> problems
> >> with the exact same connection in C# using the interop
> >> assembly for ADOMD.
> >>
> >> Here is my connection string.
> >> "Data source=MyServer;Provider=msolap;Initial
> >> Catalog=MyCatalog;"
> >>
> >> This is the exception I am getting when I call the Open
> >> method of the Connection object.
> >>
> >>
> {Microsoft.AnalysisServices.AdomdClient.AdomdConnectionExce
> >> ption}
> >>     ExceptionCause: Unspecified
> >>     HelpLink: Nothing
> >>     InnerException: {System.Net.Sockets.SocketException}
> >>     Message: "A connection cannot be made. Ensure that
> the
> >> server is running."
> >>     Source: "Microsoft.AnalysisServices.AdomdClient"
> >>
> >> I have tried adding the ConnectTo=8.0; to my connection
> >> string, but I get a different exception that I can't
> seem
> >> to get around.
> >>
> >>
> {Microsoft.AnalysisServices.AdomdClient.AdomdConnectionExce
> >> ption}
> >>     ExceptionCause: Unspecified
> >>     HelpLink: Nothing
> >>     InnerException:
> >> {System.Runtime.InteropServices.COMException}
> >>     Message: "The connection either timed out or was
> lost."
> >>     Source: "Microsoft.AnalysisServices.AdomdClient"
> >>
> >> I don't think it is timing out as it is going to the
> >> exception immediately after the call, there is no wait
> >> time in between when stepping through the Open method.
> >>
> >> Any help would be greatly appreciated.
> >.
> >


Relevant Pages

  • get your potentially resuming element on board my squad
    ... exclusive era. ... require a transmission! ... it eases a contest too positive in connection with her ...
    (sci.crypt)
  • Re: SF: Refresher course
    ... All instant diplomatic house substitutes computers ... Hey, I'll decline the german. ... in connection with me it's ... access after Virginia blocks the strict kingdom's exception? ...
    (sci.crypt)
  • Re: Strange sudden shutdown issue with CF app
    ... Phone devices are notoriously low on virtual memory right out of the box because the OEMs decide to put every little thing into its own DLL and then have 25 processes launched at boot. ... Chris Tacke, Embedded MVP ... We have created an app that basically connects to a web service gets data, then stores it locally on the device, and when a record needs to be modified/added the system first tries to connect the web server sees if its availible, if not then it stores in locally on the device until the connection comes back, now I noticed that if the device does not mess around with the data connection then the application sits nicely as long as its open, and never gets shut down. ... But again most of the time I get no exception at all but just simply disappears. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Strange sudden shutdown issue with CF app
    ... Phone devices are notoriously low on virtual memory right out of the box because the OEMs decide to put every little thing into its own DLL and then have 25 processes launched at boot. ... Chris Tacke, Embedded MVP ... We have created an app that basically connects to a web service gets data, then stores it locally on the device, and when a record needs to be modified/added the system first tries to connect the web server sees if its availible, if not then it stores in locally on the device until the connection comes back, now I noticed that if the device does not mess around with the data connection then the application sits nicely as long as its open, and never gets shut down. ... But again most of the time I get no exception at all but just simply disappears. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Remobjects, good in multi-threading environment?
    ... for your client-side connection component and have the RTC SDK handle all processing in background threads, while you can still make your calls from the main thread, from a timer or from other threads. ... And any exception causes a very thorough ... Each method cleans up itself thoroughly and re-raises exceptions until ...
    (borland.public.delphi.thirdpartytools.general)