Re: A Simple Remoting Question

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

From: Sunny (sunny_at_newsgroup.nospam)
Date: 03/17/05


Date: Thu, 17 Mar 2005 09:09:58 -0600

In article <4238D3C1.1030901@becauseofspam.com>,
nonegiven@becauseofspam.com says...
> > Set TypeFilterLevel property of the formatter to "full". By default you
> > can not pass custom made objects.
> >
> > Sunny
>
> Oh. Well, thats not good. There is no TypeFilterLevel property, and I
> think this has to do with the fact that I'm still compiling with
> whatever version of the CRL came with Visual Studio .Net 2002. Sure
> enough, a quick search of the term "TypeFilterLevel" on the internet
> reveals all sorts of references to .Net 1.1, which I probably don't have
> (maybe I have the runtime environment, but not the development
> environment). I hope its easy to upgrade...
>
> Thanks for the response,
> Ken Camann
>
>

Oh, you didn't mention that you are using 1.0 framework. TypeFilterLevel
is a new security addition for 1.1. So, this is not your problem.

What happens if you fill your ArrayList with strings? Or integers? Also,
does your client has access to the same assembly, in which your custom
types are declared? Can you post a short but complete program to
reproduce the problem (
http://www.yoda.arachsys.com/csharp/complete.html )? Or if you have
concerns to post in the group, send it to me so I can take a look.

One way or another, if you are in the beginning of the project, maybe
you should consider stepping forward and using at least 1.1 version of
the framework.

Sunny