I think that is just naming because the "I" is just their for "Imaging" type of 
classes. One of the routines does work properly.  Each class was derived from 
MarshalByRefObject.

Eddie 

-----Original Message-----
From: Richard Blewett [mailto:[EMAIL PROTECTED]
Sent: Friday, June 25, 2004 12:46 PM
To: [EMAIL PROTECTED]
Subject: Re: [ADVANCED-DOTNET] Remoting Config Files


Maybe purely a naming thing - but it looks as if you are trying to make two
interfaces as remotable types (the ones starting with I).

The remoting infrastructure is going to try to create an instance of the
types you specify in the <activated> element and interfaces are not
instantiatable.

Regards

Richard Blewett
http://staff.develop.com/richardb/weblog

-----Original Message-----
From: Unmoderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Eddie Jackson
Sent: 25 June 2004 18:03
To: [EMAIL PROTECTED]
Subject: [ADVANCED-DOTNET] Remoting Config Files

I am trying to build a Remoting application and I am having some problems
with that I believe may be in the config files.  I built the server and it
seemed to work properly.  I then added a couple of new classes that I wanted
to in a library that is referenced both by the Server and the Client.  There
are three classes that are reference in the library.  Only one of them will
work and the other two try to run locally on the Client.  Two of the classes
are the exact same code only differing in the class name.  I did this for a
test because I can't get my main class(object) to work properly.  I will
include the config files.  I have moved everything around trying everything
I could...  The only one that works properly is the
"ImageGrabber.ImageGrabber".

Thanks for any help.....


<configuration>
    <system.runtime.remoting>
        <application name="IServer">
            <service>
                 <activated type="ImageGrabber.IGrabber,IGrabber" />

            </service>
            <service>
                  <activated type="ImageGrabber.ImageGrabber,ImageGrabber"
/>                                                                      
            </service>
            <service>
                 <activated type="ImageGrabber.ITest,ITest" />

            </service>
            <channels>
                                <channel ref="tcp" port="8087">
                                        <serverProviders>
                                                <formatter ref="binary"/>
                                        </serverProviders>
                                </channel>
                                <channel ref="http" port="8088">
                                        <serverProviders>
                                                <formatter ref="soap"/>
                                        </serverProviders>
                                </channel>
            </channels>
        </application>
    </system.runtime.remoting>
</configuration>



<configuration>
    <system.runtime.remoting>
        <application name="IServer">
                <client url="tcp://localhost:8087/IServer">
                                <activated
type="ImageGrabber.ImageGrabber,ImageGrabber" />
            </client>
            <client url="tcp://localhost:8087/IServer">
                                <activated type="ImageGrabber.ITest,ITest"
/>
            </client>
            <client url="tcp://localhost:8087/IServer">
                                <activated
type="ImageGrabber.IGrabber,IGrabber" />
            </client>          
            <channels>
                                <channel ref="tcp" port="0">
                                        <clientProviders>
                                                <formatter ref="binary"/>
                                        </clientProviders>
                                </channel>
            </channels>                 
        </application>
    </system.runtime.remoting>
</configuration>

===================================
This list is hosted by DevelopMentor®  http://www.develop.com
Some .NET courses you may be interested in:

NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles
http://www.develop.com/courses/gaspdotnetls

View archives and manage your subscription(s) at http://discuss.develop.com

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.710 / Virus Database: 466 - Release Date: 23/06/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.710 / Virus Database: 466 - Release Date: 23/06/2004
 

===================================
This list is hosted by DevelopMentor®  http://www.develop.com
Some .NET courses you may be interested in:

NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles
http://www.develop.com/courses/gaspdotnetls

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentor®  http://www.develop.com
Some .NET courses you may be interested in:

NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles
http://www.develop.com/courses/gaspdotnetls

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to