how work webdav ?

If you are having a problem using Vault, post a message here.
Post Reply
bigbo26
Posts: 2
Joined: Fri Sep 21, 2012 8:05 am

how work webdav ?

Post by bigbo26 » Fri Sep 21, 2012 8:21 am

Hello,

I would like to know how can i use WebDav with "Vault Professionnal".
I have downloaded the software BitKinex.
When i have defined connection parameters, I try to do : nameServer:myPort/sgdav/wd.ashx
(it's explain here : http://download.sourcegear.com/misc/vau ... #webdavurl).
Unfortunately it's don't works !

Thanks for your help :wink:

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: how works with webdav ?

Post by lbauer » Fri Sep 21, 2012 9:27 am

We've never tested SgDav with BitKinex. We support Dreamweaver with SgDav.
However, it might be possible to use SgDav with another app that uses webdav.

What happens when you try the Sanity Check:

http://<vaultservername>/sgdav/wd.ashx/VaultServername/<Repositoryname>/SanityCheck

Do you get an error?
Linda Bauer
SourceGear
Technical Support Manager

bigbo26
Posts: 2
Joined: Fri Sep 21, 2012 8:05 am

Re: how work webdav ?

Post by bigbo26 » Fri Sep 21, 2012 10:06 am

Thank you for your answer.

When I try the Sanity Check :
It's returns an error 404... (file or repertory not found)

Should I install a WebDav server or it's include with Vault Professional ?

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: how work webdav ?

Post by lbauer » Fri Sep 21, 2012 3:47 pm

No you don't need WebDav. Vault has its implementation of WebDav called SgDav. It is automatically installed on the Vault Server. If you install WebDav it can interfere with SgDav.

There may be a problem with your URL.

Can you open a browser and connect to:

http://MYSERVER:8765/Vaultservice? You should get the Vault Service home page.
Linda Bauer
SourceGear
Technical Support Manager

Xavier
Posts: 230
Joined: Tue Mar 01, 2005 5:06 am

Re: how work webdav ?

Post by Xavier » Mon Sep 24, 2012 7:14 am

Hello

webdav is almost working. Now the error is :
La page que vous avez demandée est introuvable en raison des paramètres de la liste des restrictions ISAPI et CGI du serveur Web.

some isapi or cgi setup. I don't remember to change anything

Any idea ?

Xavier
Best regards

Xavier

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: how work webdav ?

Post by lbauer » Tue Sep 25, 2012 7:31 am

Could you post a screenshot of the ISAPI and CGI Restrictions page in IIS 7? Click on the webserver name in IIS Manager and you should see the icon for this in the IIS settings.
Linda Bauer
SourceGear
Technical Support Manager

Xavier
Posts: 230
Joined: Tue Mar 01, 2005 5:06 am

Re: how work webdav ?

Post by Xavier » Tue Sep 25, 2012 9:32 am

Hello

the screenshot is attached.

Best regards

Xavier
You do not have the required permissions to view the files attached to this post.
Best regards

Xavier

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: how work webdav ?

Post by lbauer » Tue Sep 25, 2012 10:36 am

Allow (Autorise) ASPNET 4.0.
Linda Bauer
SourceGear
Technical Support Manager

Xavier
Posts: 230
Joined: Tue Mar 01, 2005 5:06 am

Re: how work webdav ?

Post by Xavier » Tue Sep 25, 2012 11:59 am

How can I do that ?

I need a cgi file and description (I have a popup windows that open)

Xavier
Best regards

Xavier

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: how work webdav ?

Post by lbauer » Wed Sep 26, 2012 7:52 am

You should be able to right-click on each ASPNET v. 4 line and select Allow or whatever the French equivalent is.

Are you getting a popup that the CGI module is not installed? Please post a screen shot.
Linda Bauer
SourceGear
Technical Support Manager

Xavier
Posts: 230
Joined: Tue Mar 01, 2005 5:06 am

Re: how work webdav ?

Post by Xavier » Wed Sep 26, 2012 9:40 am

OK, now I have:

OK, now I have:

Request URI: http://vault:1030/sgdav/wd.ashx/vault/Anyware Video/SanityCheck
Vault Pro server: vault
Vault Pro repository: Anyware Video
Vault credentials: Xavier/*******
Working folder: C:\Windows\Temp\vault$
Login failed: Unable to connect to http://vault/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: Impossible de se connecter au serveur distant

à VaultClientNetLib.VaultConnection.Login(String strURLBase, String strUserLogin, String strPassword)
à VaultClientOperationsLib.ClientInstance.Login(String urlbase, String username, String password)
à sgdav.utils.vaultLogin(String url, String user, String password, String repository, String& savedCachePath)
à sgdav.SanityCheck.check(String uri, String user, String password, TextWriter textoutput)

Cannot connect to remote server (which is https://vault:1057/VaulService)
Best regards

Xavier

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: how work webdav ?

Post by lbauer » Wed Sep 26, 2012 11:06 am

SgDav redirects to Vault using http. This is in the code and isn't currently configurable. We have bug 19967 logged to make this configurable and it will be considered for a future release.

In the meantime, is it possible to enable http and use localhost, so at least the Vault Server services which are on the same machine can communicate with the server?
Linda Bauer
SourceGear
Technical Support Manager

Xavier
Posts: 230
Joined: Tue Mar 01, 2005 5:06 am

Re: how work webdav ?

Post by Xavier » Thu Sep 27, 2012 4:10 am

Hello

if I activate http on port 80 it's working.
But if I use another port then if complains it can't find the server. How can we use another port ?

http://VAULT/sgdav/wd.ashx/VAULT/REPO/SanityCheck : OK
http://VAULT:PORT/sgdav/wd.ashx/VAULT/REPO/SanityCheck : KO
unless I also open port 80 on the server !!
http://VAULT:PORT/sgdav/wd.ashx/127.0.0.1/REPO/SanityCheck : OK
if I allow port 80 only for locahost. But I would prefer it uses twice PORT

Thanks

Xavier
Best regards

Xavier

Post Reply