Configuration File Resources

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Chris (_at_)
Date: 03/02/04


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



Relevant Pages

  • Re: Problems with Atheros card and hostpd
    ... Configuration file: /etc/hostapd.conf ... It looks like the channel and rate remain properties of the underlying device, which makes sense, since all wlan pseudo-devices use the same channel and rate. ... and run hostapd with that. ... ath0: Unable to setup interface. ...
    (freebsd-stable)
  • Re: Configuration File Resources
    ... your channel registration that your identifying the channel that way. ... In my configuration file, I have the following ... >at System.Activator.GetObject(Type type, String url, Object state) ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: Remoting to 2 servers
    ... creating a server channel. ... Since you already have your server processes running on that same machine ... write this login into your client channel sink provider. ... > How do I set up my configuration file to use the custom sink on only ...
    (microsoft.public.dotnet.framework.remoting)
  • Unregister channel registered using configuration file
    ... configuration file. ... have a channel object because I did not register it manually. ... I don't want to unregister all the channels, ...
    (microsoft.public.dotnet.framework.remoting)