TF30063 error using Cruise Control  
Author Message
DuvallBuck





PostPosted: Team Foundation Server - General, TF30063 error using Cruise Control Top

I'm trying to get Cruise Control working with TFS. I have TFS on one machine and Cruise Control on another machine. Both machines are in the same domain. I have installed VS2005 on the Cruise Control machine and can connect to TFS using my Windows login username and password. I have set the TFS Build Services to allow the Windows login username to be one of the members of the Build Services group.

When I run Cruise Control I get the error message:
Microsoft.TeamFoundation.TeamFoundationServerUnauthorizedException: TF30063: You are not authorized to access kSource. ---> System.Net.WebException: The remote server returned an error: (401) Unauthorized.

So I'm at a lose what the problem is. I've search the forum but I haven't found the tweak I need to make this happen.

Do you have some insight for me


Visual Studio Team System4  
 
 
DuvallBuck





PostPosted: Team Foundation Server - General, TF30063 error using Cruise Control Top

I figured this out through trial and error. Cruise Control uses a source control block in the configuration file to get the username and password. I was setting the username attribute using <domainname>\<username>. Apparently TFS has trouble with this. The fix required that I just use the <username> without the <domainname>. Why this should be a problem for TFS is beyond me. When I set permissions for TFS I have to use <domainname>\<username> via the Source Control Explorer. It seemed logical to me that I would do the same for Cruise Control. Go figure.