Setting up a shadow folder

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

Moderator: SourceGear

Post Reply
StuartHemming
Posts: 113
Joined: Wed Sep 26, 2007 3:10 am
Location: Grantham, Lincs, UK.
Contact:

Setting up a shadow folder

Post by StuartHemming » Tue Jan 20, 2009 9:19 am

I've done everything that appears necessary in the web client to set up a shadow folder but the folder in question remains empty.

Having read through some old posts here I have checked to ensure that the case of both the folder and repository paths match in the definition of the shadow folder what they are in reality.

I'm using 4.1.3.

Is there any other magic spell to cast to get it to update?
Stuart
Using Fortress 2.04 (18845)

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

Re: Setting up a shadow folder

Post by Beth » Tue Jan 20, 2009 9:31 am

Try setting what you are shadowing to not be speed optimized.

If that doesn't help, could you post a screenshot of how you set up your shadow folder?

Also, check in the web.config file under C:\inetpub\wwwroot\VaultService\VaultShadowFolder. Is the part that has a cache path uncommented? Does the cache path exist?
Beth Kieler
SourceGear Technical Support

StuartHemming
Posts: 113
Joined: Wed Sep 26, 2007 3:10 am
Location: Grantham, Lincs, UK.
Contact:

Re: Setting up a shadow folder

Post by StuartHemming » Tue Jan 20, 2009 9:48 am

I've switched off optimization.

The key you're talking about is, I assume, 'shadowfolder_cachepath'. This key is still commented out.
that doesn't help, could you post a screenshot of how you set up your shadow folder?
Here you go ...
Image
Stuart
Using Fortress 2.04 (18845)

StuartHemming
Posts: 113
Joined: Wed Sep 26, 2007 3:10 am
Location: Grantham, Lincs, UK.
Contact:

Re: Setting up a shadow folder

Post by StuartHemming » Tue Jan 20, 2009 9:55 am

Beth wrote:Also, check in the web.config file under C:\inetpub\wwwroot\VaultService\VaultShadowFolder. Is the part that has a cache path uncommented? Does the cache path exist?
The path is now uncommented and the path exists. There are sufficient rights on the folder for it to be updated.
Stuart
Using Fortress 2.04 (18845)

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

Re: Setting up a shadow folder

Post by Beth » Tue Jan 20, 2009 5:11 pm

Could you check out a file, make some small edit, and check it in?

Does the shadow folder populate then?

If not, perform an iisreset on your Vault server by going to Start - Run and typing iisreset, and then try making a change again. Does the shadow folder populate then?
Beth Kieler
SourceGear Technical Support

StuartHemming
Posts: 113
Joined: Wed Sep 26, 2007 3:10 am
Location: Grantham, Lincs, UK.
Contact:

Re: Setting up a shadow folder

Post by StuartHemming » Wed Jan 21, 2009 3:16 am

Nope. Not that I can see.
Stuart
Using Fortress 2.04 (18845)

StuartHemming
Posts: 113
Joined: Wed Sep 26, 2007 3:10 am
Location: Grantham, Lincs, UK.
Contact:

Re: Setting up a shadow folder

Post by StuartHemming » Wed Jan 21, 2009 3:51 am

Success! :D
It appears that the network service running, I assume, IIS, didn't have permissions to update the target folder.

Can I make a suggestion? The only mention of shadow logging in the help file is wrt logging. This should be addressed to cover what shadow folders are and how they might be used and setting up - including editing the web.config file and checking/setting permissions. If the issue about the case of paths I've read about is still in existence, then that should be documented too.

Thanks again, Beth, for your help.
Stuart
Using Fortress 2.04 (18845)

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

Re: Setting up a shadow folder

Post by Beth » Mon Feb 02, 2009 3:12 pm

Thanks for the update and the suggestion. I will put in a feature request for more documentation.

F: 13955
Beth Kieler
SourceGear Technical Support

thinknirmal
Posts: 5
Joined: Thu Jul 30, 2009 7:12 pm
Location: Kuala Lumpur, Malaysia
Contact:

Re: Setting up a shadow folder

Post by thinknirmal » Sat Aug 01, 2009 9:24 pm

StuartHemming wrote:It appears that the network service running, I assume, IIS, didn't have permissions to update the target folder.
Thank you! That help saved a lot of time!

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

Re: Setting up a shadow folder

Post by Beth » Tue Aug 04, 2009 9:15 am

If you have any further questions, feel free to let us know.
Beth Kieler
SourceGear Technical Support

Post Reply