Hi,
Our SGShadowFolder\cache is getting bigger; and we were hoping to move it to another drive other than the C:.
• Is it possible to move the C:Windows\Temp\SGShadowFolder to another drive?
• How can we configure or do the settings to point to new drive?
• Or, how can we limit the size of the cache folder on the C: drive.
Temp\SGShadowFolder
Re: Temp\SGShadowFolder
The Shadow Folder cache path is saved in the web.config file found under the VaultShadowFolder folder. If the defaults were chosen during install, you would find that at C:\inetpub\wwwroot\vaultservice\vaultshadowfolder\web.config. There are web.config files in other areas as well, so it is important to select the correct one.
Just open the web.config in notepad and look for the line
<add key="shadowfolder_cachepath" value="%SystemRoot%\Temp\SGShadowFolder\cache" />
You can change that path. Please note that the application pool will have to be recycled after this, so it would be best if users aren't checking in changes while you do this.
After the change, save the file, and then either recycle IIS entirely or you can just recycle the VaultShadowFolderAppPool. Then check to see if the cache is building. If it's added even just one thing, then allow it to work until populated. Then have a user check in a file and test the results. One you are sure it's working, you can delete the old shadow folder cache location.
Just open the web.config in notepad and look for the line
<add key="shadowfolder_cachepath" value="%SystemRoot%\Temp\SGShadowFolder\cache" />
You can change that path. Please note that the application pool will have to be recycled after this, so it would be best if users aren't checking in changes while you do this.
After the change, save the file, and then either recycle IIS entirely or you can just recycle the VaultShadowFolderAppPool. Then check to see if the cache is building. If it's added even just one thing, then allow it to work until populated. Then have a user check in a file and test the results. One you are sure it's working, you can delete the old shadow folder cache location.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support