Enabling Find in files

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

Moderator: SourceGear

Post Reply
webberforce
Posts: 2
Joined: Tue Nov 10, 2015 6:39 pm

Enabling Find in files

Post by webberforce » Wed Nov 11, 2015 2:08 am

Hello,
I've read through some previous posts but i can't resolve my issue.

We upgraded from version 5 to 8 to another server in June, which went okay.

Plugins are all working
http://bustergonads/VaultIndexService/V ... rvice.asmx
http://bustergonads/VaultNotifyService/ ... rvice.asmx
http://bustergonads/VaultShadowFolder/V ... rvice.asmx

If i check the on button for Find in files, press save and go back tot he page it's set back to off.


Log error below-:
Could not contact the server at http://bustergonads/VaultService for repository id 8. The username or password supplied is invalid.
The Find In Files Index Server could not obtain a client connection to the Vault server. Rep ID 8 will not be indexed.


Where would i find this password to change it.

Thanks in advance

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

Re: Enabling Find in files

Post by Beth » Wed Nov 11, 2015 8:56 am

What it's having a problem with is the password in the web.config file.

Go to the path for the Vault website (by default it is C:\inetpub\wwwroot) and go to vaultservice/vaultindexservice and open the web.config for editing. Look for the entry that starts with

Code: Select all

<add key="vault_login" value=
Beneath that is a line that takes an encrypted password. Once you find what you need, just set that web.config aside.

Next go into vaultservice/VaultshadowFolder and open that web.config and look for the same area. Compare the encrypted passwords. Are they the same?

If the encrypted passwords don't match, then save off a copy of the password in the vaultindexservice web.config, and then replace it with a copy of the encrypted password from the vualtshadowfolder web.config. Make sure you get the changes saved in the same location as the original.

You then need to either perform an iisreset on the machine or recycle the VaultIndexAppPool so that the edited web.config gets loaded.
Beth Kieler
SourceGear Technical Support

webberforce
Posts: 2
Joined: Tue Nov 10, 2015 6:39 pm

Re: Enabling Find in files

Post by webberforce » Wed Nov 11, 2015 3:59 pm

thanks fore replying back. My web.config file doesn't have that section included in it.

It does have

Code: Select all

<add key="shadowfolder_login" value="admin" />
<add key="shadowfolder_password" value="WWbMnRNs75TV40zAzE2rkaVBA9WuOeni" />
<add key="shadowfolder_vaultserver" value="http://bustergonads/VaultService" />
Should i copy the values from the vaultIndexService? to the vualtshadowfolder webconfig just below the SecurityToken

Code: Select all

<add key="vault_server" value="http://bustergonads/VaultService" />
<add key="vault_login" value="admin" />
<add key="vault_pwd" value="n0nwrrgnqxsxz2pwrxrjpg==" />
Thank you

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

Re: Enabling Find in files

Post by Beth » Wed Nov 11, 2015 5:36 pm

You don't want to add anything to your Vault Shadow folder web.config from the Indexing web.config. Since you are in Vault Standard, there isn't another place to check.

Your options are you can either uninstall Vault and the run the installer from an admin command prompt, or we can try to work through this through email. The reinstall should set up everything properly again as long as it was run from the admin command prompt. If you prefer email, then send an email to support at sourcegear.com (attn: Beth) with a link to this forum thread.
Beth Kieler
SourceGear Technical Support

Post Reply