Find in Files...

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

Moderator: SourceGear

Post Reply
mikecausi
Posts: 20
Joined: Wed Mar 03, 2010 12:48 pm

Find in Files...

Post by mikecausi » Fri Aug 20, 2010 9:23 am

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.

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

Re: Find in Files...

Post by lbauer » Fri Aug 20, 2010 11:08 am

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!
Linda Bauer
SourceGear
Technical Support Manager

mikecausi
Posts: 20
Joined: Wed Mar 03, 2010 12:48 pm

Re: Find in Files...

Post by mikecausi » Tue Aug 28, 2012 9:09 am

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

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

Re: Find in Files...

Post by lbauer » Wed Aug 29, 2012 4:33 pm

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.
Linda Bauer
SourceGear
Technical Support Manager

mikecausi
Posts: 20
Joined: Wed Mar 03, 2010 12:48 pm

Re: Find in Files...

Post by mikecausi » Fri Aug 31, 2012 6:40 am

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)

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

Re: Find in Files...

Post by lbauer » Fri Aug 31, 2012 8:06 am

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

Post Reply