Authentication issue?

Mar 9, 2008 at 1:59 AM
Hi,

I'm currently connecting to the TFS server over a VPN connection. When I connect to the TFS server via Team Explorer, it requests a user name and password (which it should), however TortoiseSVN does not which causes problems when I do checkouts through svnbridge. A checkout results in the exception below. How can I specify my login/password through svnbridge in tortoiseSVN?

Command: Checkout from http://localhost:8081/Crusades, revision HEAD, Fully recursive, Externals included
Error: Failed to process a request. Failure id: 7a7c6f9e-f889-4f75-9e3d-49975b87f321
Error: SvnBridge.Exceptions.RepositoryUnavailableException: Failed when access server
Error: at: http://10.3.1.50:8080/ --->
Error: CodePlex.TfsLibrary.NetworkAccessDeniedException: Access to the network
Error: resource is denied. ---> System.Net.WebException: The request failed with HTTP
Error: status 401: Unauthorized.
Error: at
Error: System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage
Error: message, WebResponse response, Stream responseStream, Boolean asyncCall)
Error: at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
Error: methodName, Object[] parameters)
Error: at
Error: CodePlex.TfsLibrary.RegistrationWebSvc.Registration.GetRegistrationEntries(String
Error: toolId)
Error: at
Error: CodePlex.TfsLibrary.ObjectModel.RegistrationService.GetServiceInterfaceUrl(String
Error: tfsUrl, ICredentials credentials, String serviceType, String interfaceName)
Error: --- End of inner exception stack trace ---
Error: at
Error: CodePlex.TfsLibrary.ObjectModel.RegistrationService.GetServiceInterfaceUrl(String
Error: tfsUrl, ICredentials credentials, String serviceType, String interfaceName)
Error: at CodePlex.TfsLibrary.RepositoryWebSvc.RepositoryWebSvcFactory.Create(String
Error: tfsUrl, ICredentials credentials)
Error: at SvnBridge.SourceControl.TFSSourceControlService.TryCreateProxy(String
Error: tfsUrl, ICredentials credentials) in
Error: D:\IT\third_party\svnbridge\SvnBridgeLibrary\SourceControl\TFSSourceCon...\line
Error: 90
Error: --- End of inner exception stack trace ---
Error: at SvnBridge.SourceControl.TFSSourceControlService.TryCreateProxy(String
Error: tfsUrl, ICredentials credentials) in
Error: D:\IT\third_party\svnbridge\SvnBridgeLibrary\SourceControl\TFSSourceCon...\line
Error: 102
Error: at SvnBridge.SourceControl.TFSSourceControlService.QueryItems(String tfsUrl,
Error: ICredentials credentials, String workspaceName, String workspaceOwner,
Error: ItemSpec[] items, VersionSpec version, DeletedState deletedState, ItemType
Error: itemType, Boolean generateDownloadUrls) in
Error: D:\IT\third_party\svnbridge\SvnBridgeLibrary\SourceControl\TFSSourceCon...\line
Error: 60
Error: at SvnBridge.SourceControl.TFSSourceControlProvider.ItemExists(String path,
Error: Int32 version) in
Error: D:\IT\third_party\svnbridge\SvnBridgeLibrary\SourceControl\TFSSourceCon...\line
Error: 297
Error: at SvnBridge.SourceControl.TFSSourceControlProvider.ItemExists(String path) in
Error: D:\IT\third_party\svnbridge\SvnBridgeLibrary\SourceControl\TFSSourceCon...\line
Error: 281
Error: at SvnBridge.Handlers.OptionsHandler.Options(ISourceControlProvider
Error: sourceControlProvider, String path, Stream outputStream) in
Error: D:\IT\third_party\svnbridge\SvnBridgeLibrary\Handlers\OptionsHandler.cs:line 33
Error: at SvnBridge.Handlers.OptionsHandler.Handle(IHttpContext context,
Error: ISourceControlProvider sourceControlProvider) in
Error: D:\IT\third_party\svnbridge\SvnBridgeLibrary\Handlers\OptionsHandler.cs:line 26
Error: at SvnBridge.Net.HttpContextDispatcher.Dispatch(IHttpContext connection) in
Error: D:\IT\third_party\svnbridge\SvnBridgeLibrary\Net\HttpContextDispatcher.cs:line 79
Error: at SvnBridge.Net.Listener.Process(TcpClient tcpClient) in
Error: D:\IT\third_party\svnbridge\SvnBridgeLibrary\Net\Listener.cs:line 127
Finished!:
Mar 10, 2008 at 5:34 PM
Interesting, this is likely caused by a difference in the way the CodePlex TFS servers and yours are behaving.
I opened a work item to track this.
Mar 10, 2008 at 5:34 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.