I'm new to the Vault product, but I can't seem to find a basic function..."find in files". It should allow me to search the content of all the files, for a specified keyword. Can someone tell me how to do this?
Thanks.
Find in Files...
Moderator: SourceGear
Re: Find in Files...
Find in Files has not yet been implemented in Vault.
We do have feature request 5252 logged for this functionality. We'll be evaluating this feature for inclusion in an upcoming release. I'll add your "vote."
Thanks for your feedback!
We do have feature request 5252 logged for this functionality. We'll be evaluating this feature for inclusion in an upcoming release. I'll add your "vote."
Thanks for your feedback!
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
Re: Find in Files...
Now that this feature is finally available (thank you), I am trying to turn it on. When I do try to enable it in the Admin panel for a particular repository, I get the following error (where 'our-repo-name' is the name of any repository that I try):
"An error occurred updating the Find in Files for 'our-repo-name'. [FailInvalidWebServiceSecurityToken]"
Please advise.
Thanks,
Mike
"An error occurred updating the Find in Files for 'our-repo-name'. [FailInvalidWebServiceSecurityToken]"
Please advise.
Thanks,
Mike
Re: Find in Files...
Vault 6 added special "security token" xml entries which are GUIDs found in vault server, shadow folder, index, and notify service's web.config files.
The FailInvalidWebServiceSecurityToken error may mean the installer did not have write permissions or something else blocked the Vault Installer from creating a matching GUID when writing to each of the web.config files.
First, look for the web.config file in the Vault Service directory, usually: C:\inetpub\wwwroot\VaultService
Find this section and note the security token value:
<!--
SecurityToken represents the authentication info the service uses to access vault
-->
<add key="SecurityToken" value="43becfe3-40b9-4027-9a99-2d902599b5cc" />
Then find this same section in the Vault Index Service web.config, found in C:\inetpub\wwwroot\VaultService\VaultIndexService
If the security token value is not the same, copy in the one from the the Vault Server.
You may need to do the same for the VaultShadowFolder and VaultNotifyService web.config files.
Let me know if this does not resolve the problem.
The FailInvalidWebServiceSecurityToken error may mean the installer did not have write permissions or something else blocked the Vault Installer from creating a matching GUID when writing to each of the web.config files.
First, look for the web.config file in the Vault Service directory, usually: C:\inetpub\wwwroot\VaultService
Find this section and note the security token value:
<!--
SecurityToken represents the authentication info the service uses to access vault
-->
<add key="SecurityToken" value="43becfe3-40b9-4027-9a99-2d902599b5cc" />
Then find this same section in the Vault Index Service web.config, found in C:\inetpub\wwwroot\VaultService\VaultIndexService
If the security token value is not the same, copy in the one from the the Vault Server.
You may need to do the same for the VaultShadowFolder and VaultNotifyService web.config files.
Let me know if this does not resolve the problem.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
Re: Find in Files...
I changed the 4 web.configs to be the same value. I am now able to hit the save button, and there is a new message that informs me to wait (and check index log file for error if it doesn't save).
I waited and when the setting page is reloaded it still shows OFF. I checked the log file and this is what it reads:
8/31/2012 8:34:06 AM <generic>: GetEntryAssembly() returned null; not logging assembly name
8/31/2012 8:34:06 AM <generic>: SourceGear Index Service started.
8/31/2012 8:34:06 AM <generic>: Failed to retrieve login information for the Vault Server. The Find In Files Index Server may not be able to contact the Vault Server for repository information. [VaultLib.VaultCryptoException: Bad Data.
at VaultLib.VaultCrypto.Decrypt(String strBase64Buf)
at VaultIndexService.VaultIndexManager.GetVaultPluginLoginInfo(String& strVaultServer, String& strLogin, String& strPlainPassword)] Bad Data.
at VaultLib.VaultCrypto.Decrypt(String strBase64Buf)
at VaultIndexService.VaultIndexManager.GetVaultPluginLoginInfo(String& strVaultServer, String& strLogin, String& strPlainPassword)
I waited and when the setting page is reloaded it still shows OFF. I checked the log file and this is what it reads:
8/31/2012 8:34:06 AM <generic>: GetEntryAssembly() returned null; not logging assembly name
8/31/2012 8:34:06 AM <generic>: SourceGear Index Service started.
8/31/2012 8:34:06 AM <generic>: Failed to retrieve login information for the Vault Server. The Find In Files Index Server may not be able to contact the Vault Server for repository information. [VaultLib.VaultCryptoException: Bad Data.
at VaultLib.VaultCrypto.Decrypt(String strBase64Buf)
at VaultIndexService.VaultIndexManager.GetVaultPluginLoginInfo(String& strVaultServer, String& strLogin, String& strPlainPassword)] Bad Data.
at VaultLib.VaultCrypto.Decrypt(String strBase64Buf)
at VaultIndexService.VaultIndexManager.GetVaultPluginLoginInfo(String& strVaultServer, String& strLogin, String& strPlainPassword)
Re: Find in Files...
I'd suggest we schedule a remote assist session where I can take a closer look. Email support at sourcegear.com, Attn: Linda. Please include a link to this forum post.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager