Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6705963
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T07:27:53+00:00 2026-05-26T07:27:53+00:00

We have a situation where our builds have stopped executing in a stable manner.

  • 0

We have a situation where our builds have stopped executing in a stable manner.
At a rate of about one every three we receive either TF215096 or TF215097 errors & the Build fails.
If we then restart the Build controller, it works again – until next time.

The errors we get are:

TF215096: An error occurred while connecting to controller vstfs:///Build/Controller/1: There was no endpoint listening at ht*p://XXXX that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.

TF215096: An error occurred while connecting to controller XXX – Controller: Could not connect to ht*p://XXX. TCP error code 10061: No connection could be made because the target machine actively refused it 192.168.XXX.XXX:XXX.

TF215097: An error occurred while initializing a build for build definition \XXX: Team Foundation services are not available from server ht*p://XXX. Technical information (for administrator): The underlying connection was closed: A connection that was expected to be kept alive was closed by the server.

TF215097: An error occurred while initializing a build for build definition \YYY: An error occurred while receiving the HTTP response to ht*p://XXX. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details.

Server logs provide with little info, at least we ‘ve found nothing that helps us resolve the situation. Various searches in the Net were also not productive.

Does anybody had these/similar issues? Any ideas on how/where to look for a resolution?
Thank you very much in advance for any input!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T07:27:53+00:00Added an answer on May 26, 2026 at 7:27 am

    Today is a happy day, since we managed to get to the bottom of the matter. Sorry @Duat that I’m taking away the ‘answer’ checkmark – but it turned out that the problem was quite different from what you (and anybody else) has predicted.

    In my last update I was about to forward the matter to MS, when we realized that our Firewall was misbehaving in the name resolution. So we assumed this was the culprit & awaited for this to resolve. After this was resolved, we STILL had the same issues and we went again re-examining the situation.

    We isolated the problem within our Build Process, more specific with a custom code activity included in our build solution.

    I had implemented a code activity that would kick in at the final steps of every build. This activity was about gathering BuildDetails about the running build & add them as a new line in a ‘BuildLog.xls’.
    Implementation made use of Microsoft.Office.Interop.Excel.
    This excel sheet resides in another server (NOT on the Servers where the controller/agents reside).

    During development of this activity I was faced with issues like this, but after I was done no instances of EXCEL were left hanging. So I thought this was done & dealt with.

    With try & error, we observed that when this activity wouldn’t ran, no problems would occur.
    With this activity running, the very first build after a build-controller reset would succeed, any next build had a certain chance to fail. Once any build failed, no other would succeed until another build-controller reset.

    I have only a general understanding of what the problem was (Excel-call is DCOM, TFS services are WCF : How on earth would they interfere?! Why would this sometimes succeed and sometimes fail?! ).
    The provided diagnostics were no help either, in fact they mislead us into a loop that continued for months.
    If I ever find the time, I ‘d like to cleanly reproduce the error & make a Server Fault question out of it…


    After removal of this activity it works! I now searched in SO & found this, where J.Saunders comments: “In general, you should never use Office Interop from a server environment“.
    It’s ironic that once you get to the bottom of any difficult issue, the whole universe seems to have known about it except you…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have one perplexity about current situation with TFS. There are 3 branches: Develop,
We have a situation in our product where for a long time some data
We have a situation where our application calls some stored procedures on a sql
I have a situation where our developers extended a Third party database (MS SQL)
Currently in our enterprise we have a situation that i think it's not very
We've encountered the following situation in our database. We have table 'A' and table
We have a bit of a messy database situation. Our main back-office system is
We have a situation in our project when resizing a container. It seems to
We have a situation where we need to take a tag of our project
I have a situation where I've got a release candidate branch for our currently

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.