Re: A straight Question For a Straight Answer

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Fred Hirschfeld (a_at_b.c)
Date: 03/01/05


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
> >
> >
> >



Relevant Pages

  • Re: TADOTable exception when post second time
    ... >Then I press the edit button again, edit the values in the data-aware ... The first time you post the data the preEdit client values find a match on the ... Your choices are adCriteriaKey, adCriteriaAllCols, ...
    (borland.public.delphi.database.ado)
  • First call to HttpWebRequest.GetResponse() takes forever and fails, after that it works?
    ... When I run the app on a client that is connected to our internal ... that people have mentioned that GetResponse() actually may get a 401 ... it works the first time and is fast. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Speaking of copywrighting
    ... It was the first time we'd been on the same team and ... That client, as I say, a car hire firm, had sent round two ...
    (misc.writing)
  • 0x800A0046 WINDOWS UPDATE ERROR - Sorry if I am going back to an old problem here
    ... I am afraid today is the first time I have stumbled upon this windows ... update error. ... A client is not the most proactive person in the world when it comes to ... I have checked that Administrators are not members of guests and Users. ...
    (microsoft.public.win2000.windows_update)
  • Re: soapsuds
    ... pre-instantiated exe running in a singleton mode, for remoting, even if you ... Revised framework implementations will probably not break your application ... We can then compile the client using this code which allows us ... Both client and server are ...
    (microsoft.public.dotnet.framework.remoting)