Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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

    Scheduled Pinned Locked Moved Support
    errorintegrated-web-serverbuildmaster
    2 Posts 1 Posters 18 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        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

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • 1 / 1
        • First post
          Last post
        Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation