# TFS Check In Step: Unable to determine the workspace

**URL:** https://www.finalbuilder.com/forums/t/tfs-check-in-step-unable-to-determine-the-workspace/3177
**Category:** Bugs
**Created:** [November 12, 2009, 6:45am UTC](https://www.finalbuilder.com/forums/t/tfs-check-in-step-unable-to-determine-the-workspace/3177 "2009-11-12T06:45:43Z")
**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: [November 12, 2009, 6:45am UTC](https://www.finalbuilder.com/forums/t/tfs-check-in-step-unable-to-determine-the-workspace/3177/1 "2009-11-12T06:45:43Z")

</div>

I have a Final Builder project that has worked several times with no issue, however now when I run it, a _Team Foundation Check In Pending Changes_ step fails with the error:  
**Unable to determine the workspace.**

The project does the following TFS actions in this order:  
_Team Foundation Map Working Folder_ (still works)  
The map working folder has the Use Workspace box checked and the workspace is the name of the server. It is set to use credentials of another account and the credentials are valid.

_Team Foundation Get_ (still works)  
Uses specific credentials options with the same credentials as above

_Team Foundation Check Out_ (still works)  
Uses default working folder and same credentials as above.

_Team Foundation Check In Pending Changes_ (broken)  
Uses default working folder and same credentials as above.  
Path to Executable: C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\TF.exe  
Workspace Directory:   
Command line: checkin /login:"DOMAIN\BuildUser",\*PASSWORD\* /comment:"Database Change Scripts - Automated by FinalBuilder" /noprompt /override:"Database Change Scripts - Automated by FinalBuilder" /recursive  
Unable to determine the workspace.  
Failed!

&nbsp;

---

<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: [November 12, 2009, 8:40am UTC](https://www.finalbuilder.com/forums/t/tfs-check-in-step-unable-to-determine-the-workspace/3177/2 "2009-11-12T08:40:45Z")

</div>

This seems to be a relatively common thing with TFS (according to google). This blog post and the comments may help :   
  
 [http://blogs.msdn.com/granth/archive/2008/07/22/tf-exe-unable-to-determine-the-workspace.aspx](http://blogs.msdn.com/granth/archive/2008/07/22/tf-exe-unable-to-determine-the-workspace.aspx)

---

<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 13, 2009, 10:49am UTC](https://www.finalbuilder.com/forums/t/tfs-check-in-step-unable-to-determine-the-workspace/3177/3 "2009-11-13T10:49:38Z")

</div>

Tried all of that...

The workspace exists. I can see it when running those commands. I can login as that user and open Visual Studio and be in the workspace and see the pending changes waiting to be checked in.
