# Error with TFSExample when using Gated Check-in

**URL:** https://www.finalbuilder.com/forums/t/error-with-tfsexample-when-using-gated-check-in/3307
**Category:** Bugs
**Created:** [October 28, 2010, 3:42am UTC](https://www.finalbuilder.com/forums/t/error-with-tfsexample-when-using-gated-check-in/3307 "2010-10-28T03:42:54Z")
**Posts on this page:** 3
**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: [October 28, 2010, 3:42am UTC](https://www.finalbuilder.com/forums/t/error-with-tfsexample-when-using-gated-check-in/3307/1 "2010-10-28T03:42:54Z")

</div>

[FB7 (7.0.0.800), TFS2010]

I&nbsp;have a TFS&nbsp;build definition working with the FinalBuilderBuild template and&nbsp;TFSExample FB7 script.&nbsp; However, when I&nbsp;use the "Gated Check-in" trigger, the build fails as soon as it get to the FB script it fails with the message: Error: Cannot find the current label ''.

It seems to be occuring in the Get Team&nbsp;Foundation Build Parameters activity, but I cannot find a mapping for "current label"&nbsp;or whatever.

Regards,

EM

&nbsp;

Below&nbsp;is a copy of the log:

&nbsp;

&nbsp;

Overall Build Process

&nbsp;

00:00

Update Build Number

00:05

Run On Agent (reserved build agent DEVPLATBUILD - Agent1)

00:00

Delete Test Results Directory

00:00

Delete Binaries Directory

00:00

Delete Workspace

00:00

Delete Sources Directory

00:00

Create Workspace

00:01

Get WorkspaceSkipped execution of Create Label,Set Label on BuildDetail because of BuildReason CheckInShelveset

&nbsp;

00:00

FinalBuilder

00:00

FinalBuilderError: Cannot find the current label ''.

---

<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: [October 28, 2010, 11:09am UTC](https://www.finalbuilder.com/forums/t/error-with-tfsexample-when-using-gated-check-in/3307/2 "2010-10-28T11:09:55Z")

</div>

Hi,   
 Can you please set the logging verbosity to ‘diagnostic’ in your TFS build definition, run the build and send the entire build log to support[at][finalbuilder.com](http://finalbuilder.com)? Hopefully that’ll give us a better idea of what’s going on.   
  
 Cheers,   
  
 Ben

---

<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: [November 2, 2010, 1:35am UTC](https://www.finalbuilder.com/forums/t/error-with-tfsexample-when-using-gated-check-in/3307/3 "2010-11-02T01:35:13Z")

</div>

For info: this has been fixed in the latest test build: [https://www.finalbuilder.com/downloads/finalbuilder/aex6/FB700\_818.exe](https://www.finalbuilder.com/downloads/finalbuilder/aex6/FB700_818.exe)   
  
 Ben
