Re: another remoting issue

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Ken Kolda (ken.kolda_at_elliemae-nospamplease.com)
Date: 07/19/04


Date: Mon, 19 Jul 2004 14:17:38 -0700

You may need to provide additional info/code example to get any real help.
Off the top of my head, it sounds like you might be passing a
MarshalByRefObject-derived object to the server and invoking its methods
expecting them to be executed server-side. But since a MBR object lives in
the AppDomain in which it was created, the methods are actually invoked on
the client.

If you can, post a trivial example to demonstrate your problem.

Ken

"Adam Snider" <adam.snider@comcast.net> wrote in message
news:%23MlII2abEHA.3864@TK2MSFTNGP10.phx.gbl...
> Suppose I have a class from a class library that opens a database
> connection. I reference this class in both my
> server code and my client code although it is only called within the
server
> code. For some reason, my client seems to want to open the database
> connection itself, for instance, it returns an error saying the path to
the
> database could not be found. Why would it be giving me that error if the
> server code is the one that is opening the connection? Any ideas?
>
> Thanks,
> Adam
>
>



Relevant Pages

  • Re: ADO Connection Timeout
    ... to the central server, but you are willing to live with periods where it ... i.e. a local database or even a text file. ... to function until the connection can be restored to the server. ...
    (microsoft.public.data.ado)
  • Complicated Connection Problems bewteen ADP and SQL Server
    ... This database ... expertise for getting the user workstations talking to the SQL Server. ... connection would fail and the adp wouldn't be able to talk to the server. ... might be in my ADO connection string. ...
    (microsoft.public.access.adp.sqlserver)
  • Complicated Connection Problem between ADP and SQL Server
    ... This database ... expertise for getting the user workstations talking to the SQL Server. ... connection would fail and the adp wouldn't be able to talk to the server. ... might be in my ADO connection string. ...
    (microsoft.public.sqlserver.connect)
  • Re: ADO Connection Timeout
    ... so what happens when a connection failure forces one station to revert ... to a local database? ... Further, you *will* have contention issues, Jet does not support record ... to the central server, but you are willing to live with periods where it ...
    (microsoft.public.data.ado)
  • Re: ADO Connection Timeout
    ... When the first test is run, the results are stored in the central database. ... to the central server, but you are willing to live with periods where it ... i.e. a local database or even a text file. ... to function until the connection can be restored to the server. ...
    (microsoft.public.data.ado)