The Shadow Folder Service unable to connect to Vault Server
Moderator: SourceGear
-
- Posts: 6
- Joined: Tue Apr 22, 2008 11:36 am
The Shadow Folder Service unable to connect to Vault Server
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.
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.
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?
-
- Posts: 6
- Joined: Tue Apr 22, 2008 11:36 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.
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.
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.)
--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.)
-
- Posts: 6
- Joined: Tue Apr 22, 2008 11:36 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.
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 222 times
-
- Posts: 6
- Joined: Tue Apr 22, 2008 11:36 am
-
- Posts: 6
- Joined: Tue Apr 22, 2008 11:36 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
-
- Posts: 6
- Joined: Tue Apr 22, 2008 11:36 am