We are using Vault V4.1.1. After some recent file moves my engineers are having trouble doing mainly "Get Latest" and other operations.
Here is some server log trace from and undo checkout:
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled ASMX: UndoCheckOut started.
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled DB: GetUserRepositoryLastChange started.
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled DB: GetUserRepositoryLastChange finished.
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled Beginning SQL transaction 61938265
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled DB: LockCheckoutList started.
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled DB: CreateDBLockObject started.
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled DB: CreateDBLockObject finished.
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled DB: LockCheckoutList finished.
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled DB: ReleaseLocks started.
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled System.Data.SqlClient.SqlException: Cannot insert the value NULL into column '', table ''; column does not allow nulls. INSERT fails.
The statement has been terminated.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at VaultServiceSQL.VaultSqlSCC.ReleaseLocks(VaultSqlConn conn, Int32 nUserID, String strHostname, Int32 nRepID, String strXml, Boolean bUseUserID) at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at VaultServiceSQL.VaultSqlSCC.ReleaseLocks(VaultSqlConn conn, Int32 nUserID, String strHostname, Int32 nRepID, String strXml, Boolean bUseUserID)
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled DB: ReleaseLocks finished.
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled SQL transaction 61938265 successfully rolled back.
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----13/05/2008 9:09:43 AM bshu--BSHU-NB(172.24.252.188)--SSL Disabled UndoCheckout returned: FailDBFault
The most common problem is not being able to do a Get Latest of the folder parent of the files that were moved. Our "work around" is the do a Checkout followed by and "Undo Checkout" when Get Latest fails, once this has been done once the engineer can normally go on with no furtehr problem. However now another engineer has had the Undo Checkout step fail, this is what I have pasted in above.
How can we fix this?
Regards,
Rob Barnes
Various problems after file Move operations
Moderator: SourceGear
Various problems after file Move operations
All operations inside of Vault. We do not use Visual Studio integration at all.Beth wrote:Are you performing the moves inside of Vault or inside of Visual Studio?
Are the moves being committed before the Get Latest?
Yes, the moves are being comitted first (days or weeks ago).
Client InformationBeth wrote:Can you open your Vault client, connect to a repository, then go to Help - Technical Support and copy the information from there to here? That will tell me more about your environment. I don't need the licensing information at the bottom.
Vault Client Version: 4.1.1.18060
.Net Framework Version: 2.0.50727.1433
Operating System: Microsoft Windows XP Professional
Service Pack: 2.0
OS Version: 5.1.2600
Total Physical Memory: 1.99 GB
Time Zone: (GMT+10:00) Brisbane
Server Information
Vault Server Version: 4.1.1.18060
.Net Framework Version: 2.0.50727.1433
Operating System: Microsoft(R) Windows(R) Server 2003, Standard Edition
Service Pack: 2.0
OS Version: 5.2.3790
Timezone: (GMT+10:00) Brisbane
SQL Version: Microsoft SQL Server 2000 - 8.00.760 (Intel X86)
Dec 17 2002 14:22:05
Copyright (c) 1988-2003 Microsoft Corporation
Standard Edition on Windows NT 5.2 (Build 3790: Service Pack 2)