Loadbalancing CMS 6 with TCP

Vote:
 

When trying to set up a site with loadbalancing over TCP the following error occurs:

ERROR [19] EPiServer.Global.Global_Error - 1.2.5 Unhandled exception in ASP.NET
System.InvalidOperationException: The ChannelDispatcher at 'net.tcp://localhost:13000/RemoteEventService' with contract(s) '"IEventReplication"' is unable to open its IChannelListener. ---> System.InvalidOperationException: A registration already exists for URI 'net.tcp://localhost:13000/RemoteEventService'.
at System.ServiceModel.Channels.UriPrefixTable'1.RegisterUri(Uri uri, HostNameComparisonMode hostNameComparisonMode, TItem item)
at System.ServiceModel.Channels.ConnectionOrientedTransportManager'1.Register(TransportChannelListener channelListener)
at System.ServiceModel.Channels.TransportManager.Open(TransportChannelListener channelListener)
at System.ServiceModel.Channels.TransportManagerContainer.Open(SelectTransportManagersCallback selectTransportManagerCallback)
at System.ServiceModel.Channels.ConnectionOrientedTransportChannelListener.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.TcpChannelListener'2.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(TimeSpan timeout)
--- End of inner exception stack trace ---
at System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at EPiServer.EventSubscriberHostModule.InitializeServiceHost()
at EPiServer.EventSubscriberHostModule.BeginRequest(Object sender, EventArgs e)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

I have followed the instructions at these pages:

http://blog.fredrikhaglund.se/blog/2009/09/22/episerver-cms-how-to-configure-remote-events-with-many-servers-and-firewalls-between-them/

http://world.episerver.com/FAQ/Items/Multicast-UDP-not-working/

I have tried both with localhost and with the internal ip on the server but same result. 

EPiServer version CMS 6.0.530.0 on Windows Server 2008 R2 (with Composer 4 and ImageVault)

#50173
Apr 14, 2011 16:40
Vote:
 

The event replication module is now handled with an initialisation module in CMS 6. Can you check if you have an entry:

<add name="EventSubscriberHostModule" type="EPiServer.EventSubscriberHostModule, EPiServer" />

in your web.config (maybe left over after an upgrade)? We encounted this problem when this module was present. If you remove it then it should sort out the problem. 

#50174
Edited, Apr 14, 2011 19:54
Vote:
 

Yep, that did the trick! Thanks!

#50181
Apr 15, 2011 8:43
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.