Configuration File Resources
From: Chris (_at_)
Date: 03/02/04
- Next message: Sunny: "Re: how to know information of a remote object, that ist reqistered."
- Previous message: Sunny: "Re: how to know information of a remote object, that ist reqistered."
- Next in thread: Allen Anderson: "Re: Configuration File Resources"
- Reply: Allen Anderson: "Re: Configuration File Resources"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 2 Mar 2004 10:05:16 -0800
Hello,
Do any of you know of any online config file resources? I'm just learning
the material and am having trouble with it. Currently, I have a third party
provider that I want to use. In my configuration file, I have the following
lines in the <channel> section.
<configuration>
<system.runtime.remoting>
<application>
<lifetime
leaseTime="1H"
sponsorshipTimeout="1H"
renewOnCallTime="1H"
leaseManagerPollTime="1H"
/>
<client>
<wellknown
type="KnownObjects.CallMonitor, KnownObjects"
url="gtcp://localhost:8085/CallMonitor.rem"
/>
</client>
<channels>
<channel
type="Belikov.GenuineChannels.DotNetRemotingLayer.GenuineTcpClientChannel,
GenuineChannels"
MaxContentSize="500000"
Compression="false"
PingTimeOut="1000"
MaxQueuedItems="100"
MaxTotalSize="10000"
ReconnectionTries="1000"
SleepBetweenReconnection="500"
MaxTimeSpanToReconnect="240000"
>
<serverProviders>
<provider
type="Belikov.GenuineChannels.DotNetRemotingLayer.GenuineBroadcastIntercepto
rServerSinkProvider, GenuineChannels"
/>
<formatter ref="binary" />
</serverProviders>
</channel>
</channels>
</application>
</system.runtime.remoting>
</configuration>
When I run my application, I get the following error (only when I have the
serverProvider section in the configuration file):
Exception: Cannot create channel sink to connect to URL
gtcp://localhost:8085/CallMonitor.rem. An appropriate channel has probably
not been registered.. Stack trace: at
System.Runtime.Remoting.RemotingServices.Unmarshal(Type classToProxy, String
url, Object data)
at System.Runtime.Remoting.RemotingServices.Connect(Type classToProxy,
String url, Object data)
at System.Activator.GetObject(Type type, String url, Object state)
at System.Activator.GetObject(Type type, String url)
at Administrator.RemoteClient..ctor() in d:\projects\vigil
3\0.1\administrator\remoteclient.cs:line 34.
Am I missing something in my code or configuration file?
Thanks in advance,
Chris
- Next message: Sunny: "Re: how to know information of a remote object, that ist reqistered."
- Previous message: Sunny: "Re: how to know information of a remote object, that ist reqistered."
- Next in thread: Allen Anderson: "Re: Configuration File Resources"
- Reply: Allen Anderson: "Re: Configuration File Resources"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|