Setting up a shadow folder
Moderator: SourceGear
-
- Posts: 113
- Joined: Wed Sep 26, 2007 3:10 am
- Location: Grantham, Lincs, UK.
- Contact:
Setting up a shadow folder
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?
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)
Using Fortress 2.04 (18845)
Re: Setting up a shadow folder
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?
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
SourceGear Technical Support
-
- Posts: 113
- Joined: Wed Sep 26, 2007 3:10 am
- Location: Grantham, Lincs, UK.
- Contact:
Re: Setting up a shadow folder
I've switched off optimization.
The key you're talking about is, I assume, 'shadowfolder_cachepath'. This key is still commented out.
The key you're talking about is, I assume, 'shadowfolder_cachepath'. This key is still commented out.
Here you go ...that doesn't help, could you post a screenshot of how you set up your shadow folder?
Stuart
Using Fortress 2.04 (18845)
Using Fortress 2.04 (18845)
-
- Posts: 113
- Joined: Wed Sep 26, 2007 3:10 am
- Location: Grantham, Lincs, UK.
- Contact:
Re: Setting up a shadow folder
The path is now uncommented and the path exists. There are sufficient rights on the folder for it to be updated.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?
Stuart
Using Fortress 2.04 (18845)
Using Fortress 2.04 (18845)
Re: Setting up a shadow folder
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?
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
SourceGear Technical Support
-
- Posts: 113
- Joined: Wed Sep 26, 2007 3:10 am
- Location: Grantham, Lincs, UK.
- Contact:
-
- Posts: 113
- Joined: Wed Sep 26, 2007 3:10 am
- Location: Grantham, Lincs, UK.
- Contact:
Re: Setting up a shadow folder
Success!
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.
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)
Using Fortress 2.04 (18845)
Re: Setting up a shadow folder
Thanks for the update and the suggestion. I will put in a feature request for more documentation.
F: 13955
F: 13955
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
-
- Posts: 5
- Joined: Thu Jul 30, 2009 7:12 pm
- Location: Kuala Lumpur, Malaysia
- Contact:
Re: Setting up a shadow folder
Thank you! That help saved a lot of time!StuartHemming wrote:It appears that the network service running, I assume, IIS, didn't have permissions to update the target folder.
Re: Setting up a shadow folder
If you have any further questions, feel free to let us know.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support