Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

HttpListenerException in bmservice at service start



  • When bmservice starts, both at the end of the setup, and if manually restarting the services with the admin tool, the VS JIT debugger catches an HttpListenerException. I also cannot access the BuildMaster portal, getting an "Oops! This link appears to be broken," from Google Chrome, and the IE equivalent from Internet Explorer.

    When debugging with Visual Studio, the exception message says "The process cannot access the file because it is being used by another process." The exception details from VS are below:

    System.Net.HttpListenerException was unhandled
    Message=The process cannot access the file because it is being used by another process
    Source=System
    ErrorCode=32
    NativeErrorCode=32
    StackTrace:
    Server stack trace:
    at System.Net.HttpListener.AddAll()
    at System.Net.HttpListener.Start()
    at Inedo.Web.Server.HttpListenerHost.Start(WebServerConfiguration settings)
    at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
    at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
    Exception rethrown at [0]:
    at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    at Inedo.Web.Server.HttpListenerHost.Start(WebServerConfiguration settings)
    at Inedo.Web.Server.IntegratedServer.ProcessRequests()
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart()
    InnerException:

    What "the file" is, I don't know.

    I'm using Windows 7 x64. My hardware setup is as follows:
    Processor: Intel i7-3770S @ 3.10GHz
    RAM: 16GB

    I have 189 GB of free space on the hard drive BuildMaster is installed on. My BuildMaster version is 3.5.8.30, and is the Enterprise edition demo. I haven't been able to activate it because I cannot access anything except the docs and the admin tool. I am using a self-hosted installation on my desktop.

    I'm not sure what other information you might need, but I will be happy to provide you with whatever info you like.

    Thanks



  • Hi David

    i got a similar error after installing, but in the web server process (inedobmwebsrv). Im my case it occured because the port i chose for the webservice (80) was already in use. A quick check revealed that skype was using port 80 ... quitting skype and restarting the server solved the problem for me.

    Cheers, Boris



Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation