Moving Vault IIS Virtual Directory

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

Moderator: SourceGear

Post Reply
Thomas

Moving Vault IIS Virtual Directory

Post by Thomas » Fri Sep 10, 2004 4:39 pm

I want to move the physical directory where the VaultService is located. However when I do that and point the virtual directory to the new location, nothing works. Specifically http://localhost/vaultservice/vaultservice.asmx no longer resolves and gives me "Server Unavailable". I'm running Win2k3.

When I move the directory back, it works fine.

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Sun Sep 12, 2004 7:57 pm

Hmmm.

There's nothing too special about the virtual directory. Instead of re-mapping virtual to physical locations, have you tried to delete / re-create the Virtual Directory for the new location?

When re-creating, accepting all of the defaults for the virtual directory should be fine, just make sure the virtual directory is named "VaultService".

Also, don't forget you'll need to re-map the VaultShadowFolder virtual directory as well.
Jeff Clausius
SourceGear

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Sun Sep 12, 2004 8:46 pm

Are you moving the VaultService folder, or copying all of the folder's children into a new VaultService folder? Try to move at the highest level folder. I believe a Move, in this case, will retain Folder permissions, which are required for the Server to operate correctly.

Basically, Vault Server's ASP.Net Process account requires read / write permissions on the Vault Server directory as well as all sub folders. The Server installation does this for you.

Also, check Vault server's web.config file. You should see a path for the server's vault.config file. Make sure that you update this path after the move.

Just some other things I wanted to bring to your attention.
Jeff Clausius
SourceGear

Post Reply