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?
Reinstalling Vault after machine crash
Moderator: SourceGear
Re: Reinstalling Vault after machine crash
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.
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
SourceGear Technical Support
Re: Reinstalling Vault after machine crash
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?
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
-
- VS 2003 Change Source Control screen
- screen1.png (8.75 KiB) Viewed 2654 times
-
- Vault Error message
- screen2.png (4.38 KiB) Viewed 2654 times
Re: Reinstalling Vault after machine crash
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
SourceGear Technical Support