Re: A straight Question For a Straight Answer
From: Fred Hirschfeld (a_at_b.c)
Date: 03/01/05
- Next message: Stanislav Drapkin: "Re: Remoting callback hangs on ThreadPool thread"
- Previous message: Sunny: "Re: Force Lease Timeout or Immediately Mark for Garbage Collection"
- In reply to: David Sanchez: "Re: A straight Question For a Straight Answer"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 1 Mar 2005 12:57:20 -0800
Ok, I did find the post I made a while back in this discussion group:
Date: Monday, January 24, 2005 9:01 PM
Subject: Re: Problem with Serialization + enum
From: Fred Hirschfeld
If you can find that post and look at the attachment (using Outlook Express
or something that supports attachments), it should give you a fairly simple
example of what I do for remoting. I noticed that you are posting through
the MS web newsreader and wont get access by that... Do you have a junk
e-mail address that you can send so that I could e-mail you the attachment?
Now for your instance of something not working the first time and then
working the next time, could there be an initialization that is failing
(static or async)? Do you have some sample code that you can post for your
server (including the config) and client activation?
Fred
"David Sanchez" <DavidSanchez@discussions.microsoft.com> wrote in message
news:91D177EB-7726-4ECE-85CE-C080219E7DEA@microsoft.com...
> I am looking to see how the client using activator.getobject loads and run
a
> remote object for 1. I also want to see how the serving app (Windows
service
> or EXE) exposes the objects for 2. The reasoning being is that I keep
getting
> answers like MARSHALL.REMOTING and what is the meaning of that in relation
to
> my wanting an example app. The other thinng is If I use
Activator.getobject
> to get a remote object and it returns me a refernce to the proxy object
and
> then call a method of that object I get a null reference error and the
client
> crashes. If I luanch the client again I get the object again and call the
> method again; It works fine. So my question is What am I not doing
correctly
> the first time? Some people in here state things like MARSHALL.REMOTING
and
> that means nothing. So I am getting a bit angry because no matter how
many
> times I rephrase this I still get stupid answers and nothing direct.
>
>
> "Fred Hirschfeld" wrote:
>
> > IIS is really just the host for the Remoting and can be changed with
very
> > little effort. I had 3 separate projects in a single solution that
shared
> > code and had build events to modify the config files to make it work.
One
> > was IIS, another was Console and the last was a service (although we
ruled
> > this out as useful for us).
> >
> > We needed the console portion of this so that we could conveniently step
> > through the server code from NUnit tests. BTW, I also had NUnit
dynamically
> > compile and execute and EXE for hosting the Remoting so that it would be
> > self contained.
> >
> > Unfortunately I don't have the simple example code I was using and could
not
> > send the clients code for what I put together. Now having said that what
> > issues are you running into?
> >
> > Fred
> >
> > "David Sanchez" <DavidSanchez@discussions.microsoft.com> wrote in
message
> > news:60AD2B2A-38A9-4126-A52A-9C05B0138653@microsoft.com...
> > > Does anyone know of a remoting example that DOES NOT USE IIS? Please
no 1
> > > liners of MARSHAL. Just a simple url to an example that has a client,
a
> > DLL,
> > > and an APPLICATION Serving as the proxy.
> > >
> > >
> > > --
> > > David Sanchez
> >
> >
> >
- Next message: Stanislav Drapkin: "Re: Remoting callback hangs on ThreadPool thread"
- Previous message: Sunny: "Re: Force Lease Timeout or Immediately Mark for Garbage Collection"
- In reply to: David Sanchez: "Re: A straight Question For a Straight Answer"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|