# Problems validating TFS

**URL:** https://www.finalbuilder.com/forums/t/problems-validating-tfs/4847
**Category:** Discussion
**Created:** [July 17, 2012, 1:43am UTC](https://www.finalbuilder.com/forums/t/problems-validating-tfs/4847 "2012-07-17T01:43:11Z")
**Posts on this page:** 18
**Page:** 1

<div class="post-metadata">

### Author: ![pvdveen](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e480ec/32.png) [@pvdveen](https://www.finalbuilder.com/forums/u/pvdveen)
#### Post date: [July 17, 2012, 1:43am UTC](https://www.finalbuilder.com/forums/t/problems-validating-tfs/4847/1 "2012-07-17T01:43:11Z")

</div>

Hi

I have just installed the latest version and tried to vreate my first project.

I got a problem while validating the Respository.

I can conenct to it with a browser, but the validate button still comes with a communcation error to the TFS server. (but not saying what could be wrong)

The Server name, must that be the full name including http? (like http://TFSServer:8080/tfs)

(I have tried different things there)

The Continua server is a W7 virtual machine not in a domain, teh TFS server is in a domain, so for the user i use domian\username

Any idea?

Peter

---

<div class="post-metadata">

### Author: ![pvdveen](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e480ec/32.png) [@pvdveen](https://www.finalbuilder.com/forums/u/pvdveen)
#### Post date: [July 17, 2012, 2:21am UTC](https://www.finalbuilder.com/forums/t/problems-validating-tfs/4847/2 "2012-07-17T02:21:37Z")

</div>

This is the error i found   
  
 Importance: Medium   
  
 Date: dinsdag 17 juli 2012   
 Time: 13:22:33   
  
 Message:   
  
 Repository @link(2002, b889c0f7-9df6-408e-9321-a6e63c598ae8)[KIK\_I] cannot be initialised: Error communicating with TFS server, please check details and try again   
  
  
  
 Exception: FaultException`1   
 Message: 1 fields failed validation.   
 - Name can only contain alphanumeric characters without spaces.   
 Stack Trace: bij Continua.Modules.Builds.Services.RepositoryService.AddRepository(RepositoryDTO sourceRepository)   
 bij SyncInvokeAddRepository(Object , Object[] , Object[] )   
 bij System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)   
 bij System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)   
 bij System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)   
 bij System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage41(MessageRpc& rpc)   
 bij System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc)   
 bij System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)   
 bij System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc& rpc)   
 bij System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc& rpc)   
 bij System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)   
 bij System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc& rpc)   
 bij System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)

---

<div class="post-metadata">

### Author: ![pvdveen](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e480ec/32.png) [@pvdveen](https://www.finalbuilder.com/forums/u/pvdveen)
#### Post date: [July 18, 2012, 9:25am UTC](https://www.finalbuilder.com/forums/t/problems-validating-tfs/4847/3 "2012-07-18T09:25:50Z")

</div>

Just to be sure, does VS2010 needs to be installed on the Continua server to get this working? (not the building)

---

<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: [July 18, 2012, 9:41am UTC](https://www.finalbuilder.com/forums/t/problems-validating-tfs/4847/4 "2012-07-18T09:41:05Z")

</div>

The TFS Client assemblies do, and they need to be gac installed so my guess is you need to install VS. We haven’t gotten around to looking at this issue yet (too busy chasing another hard to find bug today) but we’ll take a look tomorrow, and I’ll try and get the repository options documented asap.

---

<div class="post-metadata">

### Author: ![pvdveen](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e480ec/32.png) [@pvdveen](https://www.finalbuilder.com/forums/u/pvdveen)
#### Post date: [July 18, 2012, 11:13am UTC](https://www.finalbuilder.com/forums/t/problems-validating-tfs/4847/5 "2012-07-18T11:13:25Z")

</div>

I just installed and the that helped a bit :)

Now the error is different

_Repository&nbsp;KIK\_I&nbsp;cannot be initialised: Failed to authenticate with server, please check username and password &nbsp;_

_Exception: FaultException`1&nbsp;  
Message: Failed to authenticate with server, please check username and password&nbsp;  
Stack Trace: bij Continua.Modules.Builds.Services.RepositoryService.Validate(RepositoryDTO dto)&nbsp;  
bij SyncInvokeValidate(Object , Object[] , Object[] )&nbsp;  
bij System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)&nbsp;  
bij System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)&nbsp;  
bij System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)&nbsp;  
bij System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage41(MessageRpc& rpc)&nbsp;  
bij System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc)&nbsp;  
bij System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)&nbsp;  
bij System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc& rpc)&nbsp;  
bij System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc& rpc)&nbsp;  
bij System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)&nbsp;  
bij System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc& rpc)&nbsp;  
bij System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)&nbsp;&nbsp;_

So it looks like it finds the TFS server now.

I tried 2 different usernames (domain\user and just user) with the right password.

With the same credentials i can connect to the TFS website and see my TFS projects.

Any idea?

---

<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: [July 19, 2012, 9:53am UTC](https://www.finalbuilder.com/forums/t/problems-validating-tfs/4847/6 "2012-07-19T09:53:36Z")

</div>

Hi Peter   
  
 We didn’t get to testing the TFS validation today, however we did fix a major flaw in the validation logic for all repositories today. We’re in the process of testing all validation application wide at the moment so hopefully this will be sorted out for next weeks build.

---

<div class="post-metadata">

### Author: ![pvdveen](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e480ec/32.png) [@pvdveen](https://www.finalbuilder.com/forums/u/pvdveen)
#### Post date: [July 23, 2012, 1:07am UTC](https://www.finalbuilder.com/forums/t/problems-validating-tfs/4847/7 "2012-07-23T01:07:16Z")

</div>

Ok   
  
 I will wait for the next build before continuing testing.   
  
 Peter

---

<div class="post-metadata">

### Author: ![vinnie](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/v/71e660/32.png) [@vinnie](https://www.finalbuilder.com/forums/u/vinnie)
#### Post date: [July 25, 2012, 1:27am UTC](https://www.finalbuilder.com/forums/t/problems-validating-tfs/4847/8 "2012-07-25T01:27:07Z")

</div>

Hi Peter,

I've attached a screenshot of how we setup a test TFS Repository in Continua. Are your inputs similar to ours? (Note the $/ at the front of the path). We're accessing our TFS server without a domain user so that might also be a problem but we can test that after we try a few other things.

If this hasn't helped, would you be able to provide us with your full server and path so we can best replicate it.

Cheers,

Vinnie.

![tfs_repo.jpg](https://www.finalbuilder.com/forums/uploads/default/original/2X/2/2046046fbc86c75174da5d00eea4c9ca72097643.jpeg)

---

<div class="post-metadata">

### Author: ![vinnie](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/v/71e660/32.png) [@vinnie](https://www.finalbuilder.com/forums/u/vinnie)
#### Post date: [July 25, 2012, 7:17am UTC](https://www.finalbuilder.com/forums/t/problems-validating-tfs/4847/9 "2012-07-25T07:17:48Z")

</div>

One other thing Peter, the Server value should also include your collection name. In the example above, I didn’t specify one which means TFS will use the default collection “DefaultCollection”. If yours is named xyz you’d provide “[http://tfs2010full:8080/tfs/xyz](http://tfs2010full:8080/tfs/xyz)” value

---

<div class="post-metadata">

### Author: ![pvdveen](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e480ec/32.png) [@pvdveen](https://www.finalbuilder.com/forums/u/pvdveen)
#### Post date: [July 25, 2012, 11:06am UTC](https://www.finalbuilder.com/forums/t/problems-validating-tfs/4847/10 "2012-07-25T11:06:36Z")

</div>

Hi

I did not included the collection in the server name too, but it did not help yet.

Attached a screeenshot of my screen.

Peter

![2012-07-25_110514.jpg](https://www.finalbuilder.com/forums/uploads/default/original/2X/3/3a180ef0e7c2e4feae530423893ac9c75edf18d1.jpeg)

---

<div class="post-metadata">

### Author: ![pvdveen](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e480ec/32.png) [@pvdveen](https://www.finalbuilder.com/forums/u/pvdveen)
#### Post date: [July 25, 2012, 11:13am UTC](https://www.finalbuilder.com/forums/t/problems-validating-tfs/4847/11 "2012-07-25T11:13:40Z")

</div>

better picture

[http://www.vanbrug.info/helpdesk/cierror.png](http://www.vanbrug.info/helpdesk/cierror.png)&nbsp;

---

<div class="post-metadata">

### Author: ![pvdveen](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e480ec/32.png) [@pvdveen](https://www.finalbuilder.com/forums/u/pvdveen)
#### Post date: [July 25, 2012, 11:14am UTC](https://www.finalbuilder.com/forums/t/problems-validating-tfs/4847/12 "2012-07-25T11:14:58Z")

</div>

![]()

---

<div class="post-metadata">

### Author: ![pvdveen](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e480ec/32.png) [@pvdveen](https://www.finalbuilder.com/forums/u/pvdveen)
#### Post date: [July 25, 2012, 11:15am UTC](https://www.finalbuilder.com/forums/t/problems-validating-tfs/4847/13 "2012-07-25T11:15:41Z")

</div>

Mmm no edit button and picture still not vissible 🙂

---

<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: [July 25, 2012, 3:11am UTC](https://www.finalbuilder.com/forums/t/problems-validating-tfs/4847/14 "2012-07-25T03:11:54Z")

</div>

Hi Peter   
  
 Vinnie & I spent most of today working on the TFS support, we found and fixed lots of issues and it is working well now. We hope to have a new beta build out tomorrow, provided all goes well with testing tomorrow.

---

<div class="post-metadata">

### Author: ![vinnie](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/v/71e660/32.png) [@vinnie](https://www.finalbuilder.com/forums/u/vinnie)
#### Post date: [July 26, 2012, 1:00am UTC](https://www.finalbuilder.com/forums/t/problems-validating-tfs/4847/15 "2012-07-26T01:00:57Z")

</div>

Hi Peter,   
 Have you tried putting a / infront of the $ in the Path input field?

---

<div class="post-metadata">

### Author: ![pvdveen](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e480ec/32.png) [@pvdveen](https://www.finalbuilder.com/forums/u/pvdveen)
#### Post date: [July 26, 2012, 9:39am UTC](https://www.finalbuilder.com/forums/t/problems-validating-tfs/4847/16 "2012-07-26T09:39:38Z")

</div>

> Posted By Vinnie Rizza on 25 jul 2012 06:00  
> Hi Peter,   
> Have you tried putting a / infront of the $ in the Path input field?

  

Yes i tried that too, still the same error.

Will wait for the next release.

---

<div class="post-metadata">

### Author: ![pvdveen](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e480ec/32.png) [@pvdveen](https://www.finalbuilder.com/forums/u/pvdveen)
#### Post date: [August 2, 2012, 2:55am UTC](https://www.finalbuilder.com/forums/t/problems-validating-tfs/4847/17 "2012-08-02T02:55:23Z")

</div>

> Posted By Vincent Parrett on 25 jul 2012 08:11  
> Hi Peter   
>   
> Vinnie & I spent most of today working on the TFS support, we found and fixed lots of issues and it is working well now. We hope to have a new beta build out tomorrow, provided all goes well with testing tomorrow.

  

Any idea when the new build comes out?

---

<div class="post-metadata">

### Author: ![itergo](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/i/6f9a4e/32.png) [@itergo](https://www.finalbuilder.com/forums/u/itergo)
#### Post date: [September 4, 2012, 1:29am UTC](https://www.finalbuilder.com/forums/t/problems-validating-tfs/4847/18 "2012-09-04T01:29:31Z")

</div>

Use username@domain instead of domain\username

Thats what I have to do to get it working...
