WebDav to server on port 8090

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

Moderator: SourceGear

Post Reply
cws
Posts: 6
Joined: Thu Sep 17, 2009 8:20 am

WebDav to server on port 8090

Post by cws » Tue May 24, 2011 9:10 am

Is it possible to connect to Webdav if the vault server is using port 8090?
If it is, how is the URL constructed? I want to use it with Windows7 'Add a network location' function.

I have tried to enter the following URLs in my browser:

http://sourcegearvault:8090/sgdav/wd.ashx/sourcegearvault:8090/Test/SanityCheck
http://sourcegearvault:8090/sgdav/wd.ashx/sourcegearvault%3A8090/Test/SanityCheck
gives the plain text Bad Request as result.

http://sourcegearvault:8090/sgdav/wd.ashx/sourcegearvault/Test/SanityCheck
gives error 500 - Internal Server Error as result.

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

Re: WebDav to server on port 8090

Post by Beth » Tue May 24, 2011 10:32 am

Yes, it's possible to use Webdav with Vault on another port.

Try the following URL for a sanity check. Replace yourvaultservername with the correct name or FQDN. I'm assuming Test is your repository name.

Code: Select all

http://yourvaultservername:8090/sgdav/wd.ashx/yourvaultservername/Test/SanityCheck
Also, make sure your VaultAppPool is using Classic for the pipeline mode and that Vault was installed to the same location as the website. By that I mean if the website was pointing to D:\website_path, then during the Vault install you would click the Custom button and browse to D:\website_path so that Vault will install to that location.
Beth Kieler
SourceGear Technical Support

cws
Posts: 6
Joined: Thu Sep 17, 2009 8:20 am

Re: WebDav to server on port 8090

Post by cws » Wed May 25, 2011 2:06 am

Thanks for the prompt answer!

The pipeline mode was set to integrated and after changing to classic I got an answer but it shows a login error:
Request URI: http://sourcegearvault:8090/sgdav/wd.ashx/sourcegearvault/Test/SanityCheck
Vault server: sourcegearvault
Vault repository: Test
Vault credentials: user/********
Working folder: C:\Windows\Temp\SERVER-SBS2$
Login failed: Unable to connect to http://sourcegearvault/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: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'. The request failed with the error message:

Server Error in '/' Application.

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.

Source Error:

Line 43: "Passport" and "None" Line 44: --> Line 45: Line 46: Line 47:

Source File: C:\inetpub\wwwroot\vaultservice\web.config Line: 45


Show Additional Configuration Errors:

It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. (C:\inetpub\wwwroot\vaultservice\web.config line 48)
It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. (C:\inetpub\wwwroot\vaultservice\web.config line 69)

Version Information: Microsoft .NET Framework Version:2.0.50727.4211; ASP.NET Version:2.0.50727.4209 --.
The vault client works from the same computer.
Any ideas?

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

Re: WebDav to server on port 8090

Post by Beth » Thu May 26, 2011 12:21 pm

Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
In your IIS Manager, can you take a screenshot of what the VaultService virtual directory looks like and post it? If you right click it, what options do you have?
Beth Kieler
SourceGear Technical Support

cws
Posts: 6
Joined: Thu Sep 17, 2009 8:20 am

Re: WebDav to server on port 8090

Post by cws » Fri May 27, 2011 3:53 am

I hope this is what you requested:

Here is the complete SourceGearVault tree
SourceGearVaultTree.png
SourceGearVaultTree.png (12.34 KiB) Viewed 6202 times
and here is th right click menu:
VaultServiceRightClick.png
VaultServiceRightClick.png (14.64 KiB) Viewed 6202 times
Thanks!

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

Re: WebDav to server on port 8090

Post by Beth » Fri May 27, 2011 8:45 am

Right-click the VaultPro virtual directory and choose the option to make that an application. Then see if your results are different.
Beth Kieler
SourceGear Technical Support

Post Reply