Reinstalling Vault after machine crash

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

Moderator: SourceGear

Post Reply
breedj
Posts: 5
Joined: Fri Jan 15, 2010 7:29 am

Reinstalling Vault after machine crash

Post by breedj » Fri Jan 15, 2010 7:36 am

My machine, running the sql database, the service and the vault client crashed resently.
I reinstalled my machine and also reinstalled the source vault components. I then restored a backup of the sql server database using SQL Enerprise Manager. But when I try to login with 'admin' I get the message 'The username or password supplied is invalid.'.

Is there a way to reset the admin account?

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

Re: Reinstalling Vault after machine crash

Post by Beth » Fri Jan 15, 2010 2:29 pm

When restoring, you will want to put the database in place first and then install Vault. If you restore after Vault is installed, the users aren't picked up.

To reset the admin account also takes an uninstall and reinstall. At this point, since your database has been restored, all you need to do is uninstall Vault, choose the option to keep your database, then install Vault and choose the option to use the existing database.
Beth Kieler
SourceGear Technical Support

breedj
Posts: 5
Joined: Fri Jan 15, 2010 7:29 am

Re: Reinstalling Vault after machine crash

Post by breedj » Sat Jan 16, 2010 8:57 am

That did the trick, I can now login with the gui.

But when I try to bind my visual studio 2003 project I get a message 'Unable to connect to http://monkeybite1/VaultService'.
The thing is that the machine is called HP_LAPTOP instead of monkeybite1. Do you know where I can change this url to the web service? Or do I have to rename the machine?
Attachments
screen1.png
VS 2003 Change Source Control screen
screen1.png (8.75 KiB) Viewed 2653 times
screen2.png
Vault Error message
screen2.png (4.38 KiB) Viewed 2653 times

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

Re: Reinstalling Vault after machine crash

Post by Beth » Mon Jan 18, 2010 1:25 pm

You will just press Ok and let the errors come while opening. If it offers to remove bindings, select Permanently Remove Bindings. Once the project is open, go to the Change Vault Bindings window and bind the project. If it doesn't pop up a login page during the binding process, then leave the project unbound, close and reopen Visual Studio, then open the project again. That should force it to bring up the login dialog when you try rebinding it.
Beth Kieler
SourceGear Technical Support

Post Reply