<system.runtime.remoting> <application name="ScheduleServiceMonitor"> <service> <wellknown type="ScheduleService.Remoting.ServiceMonitor, ServicePlugin" mode="Singleton" objectUri="ScheduleService.Remoting" /> </service> <channels> <channel ref="tcp" port="9876" /> </channels> </application> </system.runtime.remoting>start remoting
RemotingConfiguration.Configure(AppDomain.CurrentDomain.SetupInformation.ConfigurationFile, false);