Port Sharing Issue Deploying WCF Service

Follow

When deploying a WCF service, the following error may occur sporadically. This is a transient error that occurs in the WCF stack, and may be resolved by redeploying the service. 

Event Log Details
Timestamp: 06/23/2014 11:53:43 PM
Application: auditsystem Version 1 84abde4b-4efb-e311-a3e8-12313d081e78
InstanceId: d35f5843-abfb-4f44-8ee2-f6ee8dd6ae2c
ProviderName: CS Test 1485636a-ae9c-49c1-80d1-8079963f553a

Error event created by Apprenda.SaaSGrid.SMART.Bootstrap.BootstrapHostDaemon from machine NODE2. 
Error opening hosting channel for the service AuditSystem.CitadelExtensions.dll: System.ServiceModel.AddressAlreadyInUseException: The TransportManager failed to listen on the supplied URI using the NetTcpPortSharing service: the service failed to listen.
   at System.ServiceModel.Channels.SharedConnectionListener.SharedListenerProxy.Register()
   at System.ServiceModel.Channels.SharedConnectionListener.SharedListenerProxy.Open(Boolean isReconnecting)
   at System.ServiceModel.Channels.SharedConnectionListener.StartListen(Boolean isReconnecting)
   at System.ServiceModel.Channels.SharedTcpTransportManager.OnOpenInternal(Int32 queueId, Guid token)
   at System.ServiceModel.Channels.SharedTcpTransportManager.OnOpen()
   at System.ServiceModel.Channels.TransportManager.Open(TransportChannelListener channelListener)
   at System.ServiceModel.Channels.TransportManagerContainer.Open(SelectTransportManagersCallback selectTransportManagerCallback)
   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)
   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   at Apprenda.SaaSGrid.SMART.Bootstrap.BootstrapHostDaemon.<>c__DisplayClass7.<Main>b__4() in e:\tc\install\buildAgent\work\trunk-master\SaaSGrid\SaaSGrid.SMART.ServiceBootstrap\Apprenda\SaaSGrid\SMART\Bootstrap\BootstrapHostDaemon.cs:line 191
Have more questions? Submit a request

Comments