Type Not Found
- From: "Roey" <dave.roe@xxxxxxxxxxx>
- Date: 2 Nov 2006 16:34:43 -0800
I have been trying to get a project using SAO, interfaces and a factory
design as suggested by Ingo Rammer in his advanced .net remoting book.
The remoting error I am getting is Type Not Found when I try and load
an object.
The interfaces are loaded into their own project and compiled as
elantis_Interfaces.dll and have been copied to the server directory and
referenced in the client project.
The Server object is compiled to elantis_BUS.dll and contains the
classes for the remote object and the remote factory.
Client config file
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.runtime.remoting>
<application>
<channels>
<channel ref="tcp" port="0">
<clientProviders>
<formatter ref="binary" />
</clientProviders>
<serverProviders>
<formatter ref="binary" typeFilterLevel="Full" />
</serverProviders>
</channel>
</channels>
<client>
<wellknown type="elantis_Interfaces.ICountry_RF,
elantis_Interfaces" url="tcp://server:8001/ICountry_RF"/>
</client>
</application>
</system.runtime.remoting>
</configuration>
Server Config File
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.runtime.remoting>
<application>
<service>
<wellknown mode="SingleCall"
type="type=elantis.BUS.FACCountry, elantis_BUS"
objectUri="ICountry_RF"/>
</service>
<channels>
<channel ref="tcp" port="8001">
<serverProviders>
<formatter ref="binary" typeFilterLevel="Full" />
</serverProviders>
</channel>
</channels>
</application>
<customErrors mode="OFF"></customErrors>
</system.runtime.remoting>
</configuration>
Any help with this could put a smile back on the face of a really
disheartened programmer.
Thanks
.
- Follow-Ups:
- Re: Type Not Found
- From: Roey
- Re: Type Not Found
- Prev by Date: Re: Is remoting being used?
- Next by Date: Re: Datetime DbNull values in Dataset not deserialized correctly when RemotingFormat is set to Binary
- Previous by thread: Datetime DbNull values in Dataset not deserialized correctly when RemotingFormat is set to Binary
- Next by thread: Re: Type Not Found
- Index(es):
Relevant Pages
|