The Shadow Folder Service unable to connect to Vault Server

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

Moderator: SourceGear

Post Reply
glennanders
Posts: 6
Joined: Tue Apr 22, 2008 11:36 am

The Shadow Folder Service unable to connect to Vault Server

Post by glennanders » Tue Apr 22, 2008 11:40 am

Hello. I just downloaded and installed Vault for evaluation purposes. I am using version 4.1.1.18060.

I can log into the admin page with no problem. However, when I go into a repository and click Shadow Folders, I get an error:

The Shadow Folder Service was unable to connect to the Vault server. Please enter the login to be used by the Shadow Folder Service.

I enter the correct password and get the same error. I see there was a problem in a previous version, but I assume it got fixed by now.

Can anyone help me out so I can continue the evaluation?

Thanks.

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

Post by Beth » Tue Apr 22, 2008 9:25 pm

Can you take a look in your Vault Server Log for errors around the time you tired to access the shadow folders and post them?

glennanders
Posts: 6
Joined: Tue Apr 22, 2008 11:36 am

Post by glennanders » Wed Apr 23, 2008 8:13 am

In the vaultshadowfolderservice.txt file, I get the following:

4/23/2008 7:11:54 AM <generic>: [<No Name>:3288] GetEntryAssembly() returned null; not logging assembly name
4/23/2008 7:11:55 AM <generic>: [<No Name>:3288] Creating directory Sourcegear\Client
4/23/2008 7:11:55 AM <generic>: [<No Name>:3288] Creating directory Sourcegear
4/23/2008 7:11:55 AM <generic>: [<No Name>:3288] Creating directory
4/23/2008 7:11:55 AM <generic>: [<No Name>:3288] [System.ArgumentException: The path is not of a legal form.
at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck)
at System.IO.Path.GetDirectoryName(String path)
at VaultClientOperationsLib.LocalSettings.VaultClientConfigReader.MakeAllDirectories(String path)
at VaultClientOperationsLib.LocalSettings.VaultClientConfigReader.MakeAllDirectories(String path)
at VaultClientOperationsLib.LocalSettings.VaultClientConfigReader.MakeAllDirectories(String path)
at VaultClientOperationsLib.LocalSettings.VaultClientConfigReader..ctor(String scope, String strDefLocation)
at VaultClientOperationsLib.LocalSettings.Init(LocalSettingsScope scope, String strDefaultConfigDir)
at VaultClientOperationsLib.ClientInstance.Init(AccessLevelType accessLevel)
at VaultShadowFolder.VaultShadowFolderService.TestServerConnection()]The path is not of a legal form.
at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck)
at System.IO.Path.GetDirectoryName(String path)
at VaultClientOperationsLib.LocalSettings.VaultClientConfigReader.MakeAllDirectories(String path)
at VaultClientOperationsLib.LocalSettings.VaultClientConfigReader.MakeAllDirectories(String path)
at VaultClientOperationsLib.LocalSettings.VaultClientConfigReader.MakeAllDirectories(String path)
at VaultClientOperationsLib.LocalSettings.VaultClientConfigReader..ctor(String scope, String strDefLocation)
at VaultClientOperationsLib.LocalSettings.Init(LocalSettingsScope scope, String strDefaultConfigDir)
at VaultClientOperationsLib.ClientInstance.Init(AccessLevelType accessLevel)
at VaultShadowFolder.VaultShadowFolderService.TestServerConnection()


I assume the problem is the 'path is not of a legal form', but I don't know where to look next.

Thanks.

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

Post by Beth » Thu Apr 24, 2008 6:40 pm

That could be a permissions error.

--Can you identify what account Vault is running under? That can be seen in the Vault Server Log right after an iisreset.

-- Make that account found in the log a member of the Windows Administrators Group on the Vault server machine. Be sure to restart IIS before trying to setup up shadow folders.

--Use that same account for the Identity used by the Vault App Pool in IIS (this setting is in the App Pool Properties).

-- Make sure the account used by the Shadow Folder service has full access to the location of the Vault Shadow folder cache (cache location can be set in the Shadow Folder web.config file.)

glennanders
Posts: 6
Joined: Tue Apr 22, 2008 11:36 am

Post by glennanders » Fri Apr 25, 2008 8:55 am

Beth,

Thanks a lot for you help. I have reviewed all the info you gave and everything is fine except for I can't make the account a member of local admin because the IIS server is a Domain Controller (long story).

The error I am getting now is The Vault server could not reach the Shadow Folder Service.

I have attached some reference files for your to look at.
Attachments
sgvault logs and web config.txt
(103.29 KiB) Downloaded 221 times

glennanders
Posts: 6
Joined: Tue Apr 22, 2008 11:36 am

Post by glennanders » Fri Apr 25, 2008 9:19 am

I forgot to mention, I did make the account being used in IIS for Vault a domain admin temporarily and it did not make any difference.

glennanders
Posts: 6
Joined: Tue Apr 22, 2008 11:36 am

Post by glennanders » Fri Apr 25, 2008 9:42 am

Also, I am using host headers and I see that was a problem in earlier releases. Did that get fixed?

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Post by jeremy_sg » Fri Apr 25, 2008 9:44 am

The fix for that will be in 4.1.2. Would you like to try a prerelease build to see if it fixes your issue? Please email support at sourcegear.com ATTN: jeremy with a link to this thread if you are interested.
Subscribe to the Fortress/Vault blog

glennanders
Posts: 6
Joined: Tue Apr 22, 2008 11:36 am

Post by glennanders » Fri Apr 25, 2008 4:01 pm

Any idea when 4.1.2 will be available and how far along it is in testing so I can decide?

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Post by jeremy_sg » Fri Apr 25, 2008 4:02 pm

I hope to have it out in a week or so.
Subscribe to the Fortress/Vault blog

Post Reply