Reestablishing Vault Connection.
Moderator: SourceGear
-
- Posts: 35
- Joined: Tue Mar 14, 2006 12:33 pm
Reestablishing Vault Connection.
3.1.8
In the import tool, Import In Progress page, I see "Reestablishing Vault Connection" flashing a lot (alternating with "uploading change"). Is this normal operation as in once per file/revision?
Best,
/jhd
In the import tool, Import In Progress page, I see "Reestablishing Vault Connection" flashing a lot (alternating with "uploading change"). Is this normal operation as in once per file/revision?
Best,
/jhd
-
- Posts: 35
- Joined: Tue Mar 14, 2006 12:33 pm
was importing a big project one solution at a time. 4th solution ran fine until it appeared to be finishing (full progress bar). then it started doing the reconnect mambo. sgvault.log appears to contain one of the messages below for every file it is trying to process. Progress bar shows complete, time remaining 00:00:00 after these errors start happening.
What does this mean? Unsure how to proceed at this point. Kill the import? Delete the solution tree? Is the repo corrupt?
[edit]
I am remapping 3 vss accounts during the import. Appeared to work for the previous 3 imports. Could this be related?
/jhd
----6/8/2006 7:19:17 AM USERNAME--MACHINENAME (10.5.146.74)--SSL Disabled System.Data.SqlClient.SqlException: Cannot insert duplicate key row in object 'tblusers' with unique index 'idxuserlogins'.
The statement has been terminated.
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at VaultServiceSQL.VaultAdminSQL.AddUser(VaultSqlConn conn, Int32 nUserID, VaultUser& vUser) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at VaultServiceSQL.VaultAdminSQL.AddUser(VaultSqlConn conn, Int32 nUserID, VaultUser& vUser)
What does this mean? Unsure how to proceed at this point. Kill the import? Delete the solution tree? Is the repo corrupt?
[edit]
I am remapping 3 vss accounts during the import. Appeared to work for the previous 3 imports. Could this be related?
/jhd
----6/8/2006 7:19:17 AM USERNAME--MACHINENAME (10.5.146.74)--SSL Disabled System.Data.SqlClient.SqlException: Cannot insert duplicate key row in object 'tblusers' with unique index 'idxuserlogins'.
The statement has been terminated.
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at VaultServiceSQL.VaultAdminSQL.AddUser(VaultSqlConn conn, Int32 nUserID, VaultUser& vUser) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at VaultServiceSQL.VaultAdminSQL.AddUser(VaultSqlConn conn, Int32 nUserID, VaultUser& vUser)
-
- Posts: 35
- Joined: Tue Mar 14, 2006 12:33 pm
Riddle me this... the import finally completed with the following messages.
The import is complete. There wer 23340 errors, which are described in the final report below.
drumroll
No errors occurred during import.
[edit]
ok, the above text must be the control default as the import screen is frozen atm. will probably get the real message in a few minutes.
please change the default text to something more like "processing final report, please wait...".
/jhd
The import is complete. There wer 23340 errors, which are described in the final report below.
drumroll
No errors occurred during import.
[edit]
ok, the above text must be the control default as the import screen is frozen atm. will probably get the real message in a few minutes.
please change the default text to something more like "processing final report, please wait...".
/jhd
-
- Posts: 35
- Joined: Tue Mar 14, 2006 12:33 pm
The final error report messages don't really track with the log errors.?.?
It is crucial that the state of this repo be determined. Confidence level is waning due to previous vault service, db schema problem, and repo corruption.
Item
$/Trunk/somepath/somefile.cs caused the transaction to fail: Invalid object version specified.
Transaction failed
even more of these... actually, mostly these...
An exception was encountered during the transaction. Exception: Exception of type System.Exception was thrown. at VaultClientOperationsLib.ClientInstance.Commit(ChangeSetItemColl givenItems, Boolean keepCheckedOut, Boolean removeLocalCopy, Boolean bIsImport, DateTime dateImport, Int32 nUserIDImport, Int64& nRevID)
Transaction failed
Transaction failed
An error occurred while trying to end a transaction.
It is crucial that the state of this repo be determined. Confidence level is waning due to previous vault service, db schema problem, and repo corruption.
- * what causes the tbluser type errors?
* do the errors below track with the log file errors?
* how do i confirm the repo is in tact and integral?
* how do i confirm the db is in tact and integral?
* is there any way to create a new db and migrate sources with history?
Item
$/Trunk/somepath/somefile.cs caused the transaction to fail: Invalid object version specified.
Transaction failed
even more of these... actually, mostly these...
An exception was encountered during the transaction. Exception: Exception of type System.Exception was thrown. at VaultClientOperationsLib.ClientInstance.Commit(ChangeSetItemColl givenItems, Boolean keepCheckedOut, Boolean removeLocalCopy, Boolean bIsImport, DateTime dateImport, Int32 nUserIDImport, Int64& nRevID)
Transaction failed
Transaction failed
An error occurred while trying to end a transaction.
It does seem like something is going on here. Can you look at your Vault server log file to check if there are serious errors logged?
-
- Posts: 35
- Joined: Tue Mar 14, 2006 12:33 pm
-
- Posts: 35
- Joined: Tue Mar 14, 2006 12:33 pm