Trouble getting SVNBridge v6 to work with TFS 2005 and TortoiseSVN 1.6.12

Mar 10, 2011 at 8:27 PM
Edited Mar 10, 2011 at 8:43 PM

I'm having trouble getting this combination to work.

SVNBridge v6 is in a virtual directory on the same server as TFS 2005 (a Windows 2003 server fully patched).

I followed the steps at http://svnbridge.codeplex.com/documentation as close as possible.

The first class of problems was authentication; I think I solved that, but please shoot, as I might have done it in the wrong fashion:

TFS 2005 is running on a single standalone server (i.e. not part of a domain), which means I could not enable "Digest authentication", so I enabled "Integrated Windows Authentication" in stead, just like the "Team Foundation Server" virtual directory on the same server.

The second authentication problem was that TortoiseSVN keept complaining it would not do NTLM:

 

OPTIONS of 'http://x-develop-tfs:8081/Project': authorization failed: Could not 
authenticate to server: ignored Negotiate challenge, ignored NTLM challenge (http://x-develop-tfs:8081)

 

I solved the above error by enabling "Basic Authentication" next to "Integrated Windows Authentication".

Now SVNBridge can connect, and I do get files in the C:\SvnBridge\Logs directory.

So here is the second class , but it immediately gives an other error:

 

Checkout from http://x-develop-tfs:8081/Project, revision HEAD, Fully recursive, Externals included
OPTIONS of 'http://x-develop-tfs:8081/Project': 200 OK (http://x-develop-tfs:8081)

Based on the hint at http://stackoverflow.com/questions/1025377/an-svn-error-200-ok-when-checking-out-from-my-online-repo/2456201#2456201, and since the web-frontend for TFS 2005 at http://x-develop-tfs:8090 lists the TFS URL as http://x-develop-tfs:8080/ in stead of http://x-develop-tfs:8080/tfs, I modified the SvnBridge web.config file like this:

 

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <appSettings>
    <!--
    <add key="TfsUrl" value="http://localhost:8080/tfs" />
    -->
    <add key="TfsUrl" value="http://localhost:8080" />
    <add key="LogPath" value="C:\SvnBridge\Logs" />
  </appSettings>
  <system.web>
    <httpRuntime maxRequestLength="500000" /> <!-- 250+ MB -->
    <customErrors mode="Off" />
    <compilation debug="true" />
    <authentication mode="Windows" />
    <identity impersonate="true" />
    <!-- Uncomment this httpHandlers element if running under IIS 6.0 / 5.1 -->
    <httpHandlers>
      <clear/>
      <add verb="*" path="*" type="SvnBridgeServer.SvnBridgeHttpHandler, SvnBridgeServer" />
    </httpHandlers>
  </system.web>
  <system.net>
    <defaultProxy enabled="true" />
  </system.net>
</configuration>

Now an SVNBridge checkout gives a different error message:

 

Checkout from http://x-develop-tfs:8081/Project, revision HEAD, Only this item, Externals included
The path was not part of a repository
'/' path not found

 

and this shows up in Fiddler2:

 

#	Result	Protocol	Host	URL	Body	Caching	Content-Type	Process	Comments	Custom	
1	401	HTTP	x-develop-tfs:8081	/Project	1,656		text/html	tortoiseproc:5404			
2	200	HTTP	x-develop-tfs:8081	/Project	179	private  	text/xml; charset="utf-8"	tortoiseproc:5404			
3	404	HTTP	x-develop-tfs:8081	/Project	299	private  	text/html; charset=iso-8859-1	tortoiseproc:5404			
4	404	HTTP	x-develop-tfs:8081	/	294	private  	text/html; charset=iso-8859-1	tortoiseproc:5404			
5	401	HTTP	x-develop-tfs:8081	/Project	1,656		text/html	tortoiseproc:5404			
6	200	HTTP	x-develop-tfs:8081	/Project	179	private  	text/xml; charset="utf-8"	tortoiseproc:5404			
7	404	HTTP	x-develop-tfs:8081	/Project	299	private  	text/html; charset=iso-8859-1	tortoiseproc:5404			
8	404	HTTP	x-develop-tfs:8081	/	294	private  	text/html; charset=iso-8859-1	tortoiseproc:5404			

 

Can anyone help me getting this to work?

Thanks!

--jeroen

Mar 28, 2011 at 8:15 AM

Anyone? Please?

--jeroen