Problems validating TFS

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



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)

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

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.

I just installed and the that helped a bit :)

Now the error is different

Repository KIK_I cannot be initialised: Failed to authenticate with server, please check username and password  

Exception: FaultException`1 
Message: Failed to authenticate with server, please check username and password 
Stack Trace: bij Continua.Modules.Builds.Services.RepositoryService.Validate(RepositoryDTO dto) 
bij SyncInvokeValidate(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)  

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?

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.

Ok

I will wait for the next build before continuing testing.

Peter

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

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” value

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

better picture

http://www.vanbrug.info/helpdesk/cierror.png 

Mmm no edit button and picture still not vissible :slight_smile:

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.

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

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.

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?

Use username@domain instead of domain\username

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