Shadow Folders

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

Moderator: SourceGear

plexus
Posts: 27
Joined: Thu Dec 13, 2007 12:34 pm

Post by plexus » Mon Jan 07, 2008 12:41 pm

I did try it by modifying the web.config. I changed the web.config in the C:\Inetpub\wwwroot\VaultService\VaultShadowFolder. I uncommented and changed this line to use the account we created:

<!-- identity impersonate="true" userName="DOMAINorMACHINE\WINDOWSACCT" password="plaintext_pwd"/>-->

However, after I do this, when I click on the Shadow Folders link in the repository, I get the message that says it was unable to connect to the vault server. I try to enter the the admin password, but it does not accept it.

I don't understand why I am having such a hard time getting these to work.

I decided to try this whole thing on the servers we were using for our evaluation. To be clear, these servers are different servers than the ones we have been troubleshooting. I decided to start simple and just have the shadow directory on the Vault server. I did not do any of the modifications for UNC paths, just left everything at the default. I gave "Everyone" full control to the destination directory.

When I went to configure the shadow folder, the interface said it could not contact the repository and asked for the admin credentials. I gave it and everything seemed file. I added the shadow folder settings, specifying a repository folder that had a number of subfolders, and 575 files. I used the "optimized for speed settings", "Set read read-onely flag", and "Set time to check-in time".

When I applied the settings, the CPU usage on the Vault server went to 99% and stayed there. The server was responding extremely slowly. However, the files did get put in the shadow directory. After 30 minutes, the CPU still had not come down, so I did an IISReset. Then when the reset finished, I deleted the Shadow folder settings. Since doing this, I can't get shadow folders to work at all. I get the following errors in the vaultshadowfolderservice.txt file (file path and name changed):

1/7/2008 10:13:37 AM <generic>: [<No Name>:4060] Error: Local file update for $/repository/test.asp failed: System.NullReferenceException: Object reference not set to an instance of an object.
at VaultClientOperationsLib.UpdateThread.ProcessCommand(UpdateThreadCommand command, UpdateThreadCommandResult& outputResult)
1/7/2008 10:13:37 AM <generic>: [<No Name>:4060] Vault's Shadow Folders encountered an exception attempting to get the files for Dev.plexus-online.com. The Shadow Folders for the repository may not be syncrhonized with the Vault Server.Exception of type 'VaultClientOperationsLib.GetLatestVersionFailedException' was thrown. :::: Time elapsed from Get() start to exception was -0.02259335

Our company's use of Vault is dependant on getting Shadow Folders to work. We already delayed our transition this weekend because we couldn't get them to work. Is there any way to work with someone on the phone to try and figure out?

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Mon Jan 07, 2008 3:22 pm

I sent you an email about scheduling a remote session for tomorrow.
Linda Bauer
SourceGear
Technical Support Manager

Tilman
Posts: 52
Joined: Thu Mar 08, 2007 3:49 am

Post by Tilman » Tue Jan 08, 2008 7:59 am

Hi,

Has this problem been resolved? We just upgraded from 3.5.2 to 4.0.6 and we are experiencing the same problem.

Cheers,

Tilman

plexus
Posts: 27
Joined: Thu Dec 13, 2007 12:34 pm

Post by plexus » Tue Jan 08, 2008 8:12 am

We are scheduled to do a remote session with one of the SourceGear developers today.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Tue Jan 08, 2008 8:22 am

Tilman, let's start a separate case for you.

Email support at sourcegear.com attn: Linda

Send me the details of your setup, errors, shadow folder and Vault server logs, etc.

HS 185131
Linda Bauer
SourceGear
Technical Support Manager

Post Reply