# FinalBuilder hangs during a Team Build

**URL:** https://www.finalbuilder.com/forums/t/finalbuilder-hangs-during-a-team-build/1333
**Category:** Discussion
**Created:** [September 29, 2009, 11:40am UTC](https://www.finalbuilder.com/forums/t/finalbuilder-hangs-during-a-team-build/1333 "2009-09-29T11:40:36Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [September 29, 2009, 11:40am UTC](https://www.finalbuilder.com/forums/t/finalbuilder-hangs-during-a-team-build/1333/1 "2009-09-29T11:40:36Z")

</div>

Hi all

I have a FB&nbsp;project that builds fine in the IDE but when I attempt it in TFS 2008 it hangs (forever) and when I&nbsp;check the log file after cancelling the build it gets as far as finishing the action group 'Apply Version / Package Source', the last task is a ZIP&nbsp;action, and then the log ends, it doesn't move on after that, doesn't even attempt to process the next action group, no errors or anything, just sits there running on the build server.

I've spent 2 days looking at this now and I'm pulling my hair out, I've attached the FB&nbsp;project, hope someone can help!

Thanks

Kev

[Interops\_Full.fbp6](https://www.finalbuilder.com/forums/uploads/default/original/2X/6/60c0aba203229f349da58d402d9de13f92bcdfab.fbp6) (294.854 KB)

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [September 29, 2009, 12:20pm UTC](https://www.finalbuilder.com/forums/t/finalbuilder-hangs-during-a-team-build/1333/2 "2009-09-29T12:20:39Z")

</div>

UPDATE: I’ve just run FBCMD from a command line on the server and the task that runs after ‘Apply Version / Package Source’ updates VS deployment projects, it turns out the VDPROJ files are screwed and it throws up a VS message box…   
  
 I’ll update once I’ve rectified this to see if that sorts it.

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [September 29, 2009, 2:03am UTC](https://www.finalbuilder.com/forums/t/finalbuilder-hangs-during-a-team-build/1333/3 "2009-09-29T02:03:03Z")

</div>

Ok, I've managed to get the VDPROJ issues sorted but now when I run FBCMD from the command line it runs the entire build, then runs some tests, confirms it's finished but then doesn't close the program, it just sits there...is that normal??

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [September 29, 2009, 3:08am UTC](https://www.finalbuilder.com/forums/t/finalbuilder-hangs-during-a-team-build/1333/4 "2009-09-29T03:08:22Z")

</div>

Another update, I’ve found the cause, but not the solution. The build has lots of Windows Installer - Run Msi tasks, these all remotely install MSIs on another machine. If I disable these the build finishes fine, if I enable them it fails to release itself, and it would appear that the WMI calls are causing disconnect issues.   
  
 I’m not sure where to go with this, could it be a WMI configuration issue?

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [September 29, 2009, 6:24am UTC](https://www.finalbuilder.com/forums/t/finalbuilder-hangs-during-a-team-build/1333/5 "2009-09-29T06:24:41Z")

</div>

I finally found out what the problem was, it would appear that the unit tests were causing it as when I disabled them it worked fine. Looking at the network connections it seems that one or more of the tests might not be closing a connection to a server/database.   
  
I'm surprised this causes FBCMD to hang but it does appear to be the case, when I've finally tracked it down I will post my response, as this has taken a long time to investigate.

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [September 30, 2009, 3:09am UTC](https://www.finalbuilder.com/forums/t/finalbuilder-hangs-during-a-team-build/1333/6 "2009-09-30T03:09:55Z")

</div>

If any exe FBCMD is running puts up a dialog waiting for input then FBCMD will hang waiting for that task to complete. As for network connections… no idea why that would occur.
