TfsDeployer.exe -d throwing error

Dec 17, 2011 at 7:37 AM

Hi All,

After installing TSDeployer 2008, I am getting the below error for TfsDeployer.exe -d

I tried changing the port number in exe.config file, but the same error occurs.

C:\Program Files\TfsDeployer>TfsDeployer.exe -d
System.ServiceModel.AddressAlreadyInUseException: HTTP could not register URL ht
tp://+:8811/BuildStatusChangeEvent/. Another application has already registered
this URL with HTTP.SYS. ---> System.Net.HttpListenerException: Failed to listen
on prefix 'http://+:8811/BuildStatusChangeEvent/' because it conflicts with an e
xisting registration on the machine.
   at System.Net.HttpListener.AddAll()
   at System.Net.HttpListener.Start()
   at System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()
   --- End of inner exception stack trace ---
   at System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()
   at System.ServiceModel.Channels.TransportManager.Open(TransportChannelListene
r channelListener)
   at System.ServiceModel.Channels.TransportManagerContainer.Open(SelectTranspor
tManagersCallback selectTransportManagerCallback)
   at System.ServiceModel.Channels.TransportChannelListener.OnOpen(TimeSpan time
out)
   at System.ServiceModel.Channels.HttpChannelListener.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 System.ServiceModel.Channels.CommunicationObject.Open()
   at Readify.Useful.TeamFoundation.Common.Listener.TfsEventListener`1.OpenHost(
)
   at Readify.Useful.TeamFoundation.Common.Listener.TfsEventListener`1.Start()
   at Readify.Useful.TeamFoundation.Common.Listener.TfsListener.Start()
   at TfsDeployer.Program.OnStart(String[] args)
   at TfsDeployer.Program.Main(String[] args).

Coordinator
Dec 18, 2011 at 4:56 AM

Hi,

Assuming that the error message is correct and there definitely is another application already listening on the specific URL, you can execute the following command from a Command Prompt to see a list of which processes are listening on to requests for which URL.

netsh http show servicestate