WebDav

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
Scootin159
Posts: 16
Joined: Wed Apr 12, 2006 6:57 am

WebDav

Post by Scootin159 » Wed Mar 02, 2011 3:46 pm

In pursuit of using vault on a Mac (http://kb.sourcegear.com/FortressHelp/v ... =5&t=10793), I've stumbled upon the WebDAV interface you offer for DreamWeaver (http://download.sourcegear.com/misc/vau ... ebdav.html). It seems that this may at least offer partial access to the Vault database from the Mac, so I'm trying to pursue it.

However, I'm having trouble getting the access working. As an initial test I'm using my web browser (Chrome) to make sure I have the URL correct. The URL I'm using is: (note example.com substituted for our real domain)
https://vault5.example.com/sgdav/wd.ash ... /Documents

When I put that into my browser, I'm given a username/password prompt. My standard vault client username/password doesn't appear to work (I'm shown the login prompt again), but if I put in Administrator/(our admin password), I get a "500 - Internal server error".

Am I doing something wrong?

We're using Vault Standard 5.1.0 (19172)

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: WebDav

Post by Beth » Wed Mar 02, 2011 4:20 pm

What do you get if you try the Sanity Check URL: http://scc.example.com/sgdav/wd.ashx/sc ... anityCheck (constructed using your data)?

More information about the integration with Dreamweaver can be found in the Vault client manual, http://download.sourcegear.com/misc/vau ... thelp.html, under section 8.
Beth Kieler
SourceGear Technical Support

Scootin159
Posts: 16
Joined: Wed Apr 12, 2006 6:57 am

Re: WebDav

Post by Scootin159 » Wed Mar 02, 2011 5:16 pm

Same result with my username/password (that is - no result)

With the administrator account I get (domain name changed):

Request URI: https://vault5.example.com:443/sgdav/wd ... om/Initial Repository/SanityCheck
Vault server: vault5.example.com
Vault repository: Initial Repository
Vault credentials: Administrator/*******
Working folder: C:\Windows\Temp\VaultAppPool
Login failed: Unable to connect to http://vault5.example.com/VaultService. No server was found at the specified URL. Please verify your network settings using the Options dialog under the Tools menu in the Vault GUI Client. Web Exception: The request failed with HTTP status 403: Forbidden.
at VaultClientNetLib.VaultConnection.Login(String strURLBase, String strUserLogin, String strPassword)
at VaultClientOperationsLib.ClientInstance.Login(String urlbase, String username, String password)
at sgdav.utils.vaultLogin(String url, String user, String password, String repository, String& savedCachePath)
at sgdav.SanityCheck.check(String uri, String user, String password, TextWriter textoutput)


I have HTTP access disabled in IIS - is this possibly the problem?

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: WebDav

Post by Beth » Thu Mar 03, 2011 2:12 pm

Does the regular Vault GUI client work?

On the same machine that you have Dreamweaver on, can you reach the Vault web client (http://<your Vault server>/vaultservice/vaultweb)?
Beth Kieler
SourceGear Technical Support

Scootin159
Posts: 16
Joined: Wed Apr 12, 2006 6:57 am

Re: WebDav

Post by Scootin159 » Thu Mar 03, 2011 5:34 pm

I'm testing it on a Mac, so the Vault GUI client doesn't work. It does however work from several other machines on the network. The Web client also does work 100% from the Mac and any other machine on the network.

As a side note - I'm not using Dreamweaver, I'm just testing to see if I can use the WebDAV access (as a web folder) on the Mac in lieu of the GUI client.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: WebDav

Post by Beth » Thu Mar 10, 2011 5:58 pm

Anything we've done with WebDav has been just for working with Dreamweaver. There are some issues with using just WebDav that won't necessarily prevent you from using it, but it can cause confusion.

Some ideas you might try is to make sure that, on the Vault server, IIS's internal WebDAV stuff is completely disabled; preferably removed from IIS features.

If using WebDav on a Mac is important, then switching Vault to use the default port 80 and not https would allow for the sanity check to maybe show if the URL is correct.
Beth Kieler
SourceGear Technical Support

Post Reply