Re: another remoting issue
From: Ken Kolda (ken.kolda_at_elliemae-nospamplease.com)
Date: 07/19/04
- Next message: Sunny: "Re: Getting an object reference from the Server ON THE SERVER???"
- Previous message: Sunny: "Re: Bug in IIS hosting of Remote Objects?"
- In reply to: Adam Snider: "another remoting issue"
- Messages sorted by: [ date ] [ thread ]
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
>
>
- Next message: Sunny: "Re: Getting an object reference from the Server ON THE SERVER???"
- Previous message: Sunny: "Re: Bug in IIS hosting of Remote Objects?"
- In reply to: Adam Snider: "another remoting issue"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|