Error Running Build service as "Interactive ", however running as window service it worked Fine
-
13 Maret 2012 16:56
Hi ,
I have configured a build service on my VM (win2008 32 bit) as a window service
but now i have to Run one deployment which has some GUI so I need to Run the Build service as Interactive .
when i try to Run it as interactive it starts Then Stop and report Errors
1- Error
*******************************************************************
Named pipe communication failure:
Exception Message: Cannot listen on pipe name 'net.pipe://build/ServiceHost/193' because another pipe endpoint is already listening on that name. (type AddressAlreadyInUseException)
Exception Stack Trace: at System.ServiceModel.Channels.PipeConnectionListener.Listen()
at System.ServiceModel.Channels.BufferedConnectionListener.Listen()
at System.ServiceModel.Channels.ExclusiveNamedPipeTransportManager.OnOpen()
at System.ServiceModel.Channels.TransportManager.Open(TransportChannelListener channelListener)
at System.ServiceModel.Channels.TransportManagerContainer.Open(SelectTransportManagersCallback selectTransportManagerCallback)
at System.ServiceModel.Channels.TransportChannelListener.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.ConnectionOrientedTransportChannelListener.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.NamedPipeChannelListener`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 Microsoft.TeamFoundation.Build.Machine.WindowsService.OpenPipeChannel()
Inner Exception Details:
Exception Message: Cannot listen on pipe name 'net.pipe://build/ServiceHost/193' because another pipe endpoint is already listening on that name. (type PipeException)
Exception Stack Trace:
.
Build service will continue but the Administration console will not be able to reach it.*********************************************************************
2- Error
*********************************************************************
Http communication failure:
Exception Message: HTTP could not register URL http://+:9191/Build/v3.0/Services/. Another application has already registered this URL with HTTP.SYS. (type AddressAlreadyInUseException)
Exception Stack Trace: at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
at System.ServiceModel.Channels.CommunicationObject.EndOpen(IAsyncResult result)
at Microsoft.TeamFoundation.Build.Machine.WindowsService.OpenCommunicationObjectCallback(IAsyncResult result)
Inner Exception Details:
Exception Message: Failed to listen on prefix 'http://+:9191/Build/v3.0/Services/' because it conflicts with an existing registration on the machine. (type HttpListenerException)
Exception Stack Trace: at System.Net.HttpListener.AddAllPrefixes()
at System.Net.HttpListener.Start()
at System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()
Build service will be stopped********************************************************************
3 - Error
********************************************************************
Build Service received Stop command and will be stopped. Details: Could not open http channel
*******************************************************************
Please help Thanks
fahad
Semua Balasan
-
14 Maret 2012 2:38
Try uninstalling and installing the build service host. Not an ideal solution but I think it should work :)
Thanks,
Anuj
http://www.anujchaudhary.com
-
16 Maret 2012 9:19