I've installed 1.1 on a test server (actually two different test servers now...) and instead of the above behaviour, I get an error:
The server log for this operation is:A database error has occured (FailDBFault)
Code: Select all
----06/03/2008 08:50:12 --()-- Beginning SQL transaction 61879347
----06/03/2008 08:50:12 --()-- SQL transaction 61879347 successfully committed.
----06/03/2008 08:50:12 --()-- Beginning SQL transaction 3479815
----06/03/2008 08:50:12 --()-- SQL transaction 3479815 successfully committed.
----06/03/2008 08:50:35 librarian--ncltw-app0004.spdl-dev.net(127.0.0.1)--SSL Disabled Beginning SQL transaction 6587426
----06/03/2008 08:50:35 librarian--ncltw-app0004.spdl-dev.net(127.0.0.1)--SSL Disabled SQL transaction 6587426 successfully committed.
----06/03/2008 08:50:35 Librarian--ncltw-app0004.spdl-dev.net(127.0.0.1)--SSL Disabled Login
----06/03/2008 08:50:35 Librarian--ncltw-app0004.spdl-dev.net(127.0.0.1)--SSL Disabled GetUserList returned: Success
----06/03/2008 08:50:35 Librarian--ncltw-app0004.spdl-dev.net(127.0.0.1)--SSL Disabled GetUserOptions returned: Success
----06/03/2008 08:50:35 Librarian--ncltw-app0004.spdl-dev.net(127.0.0.1)--SSL Disabled Success
----06/03/2008 08:50:35 Librarian--ncltw-app0004.spdl-dev.net(127.0.0.1)--SSL Disabled GetRepositories returned: Success
----06/03/2008 08:50:39 Librarian--ncltw-app0004.spdl-dev.net(127.0.0.1)--SSL Disabled Getting repository Structure-> Rep ID: 2 Base: 667261 Target: -1
----06/03/2008 08:50:39 Librarian--ncltw-app0004.spdl-dev.net(127.0.0.1)--SSL Disabled TreeManager: Filling empty cache with current tree.
----06/03/2008 08:51:17 Librarian--ncltw-app0004.spdl-dev.net(127.0.0.1)--SSL Disabled VaultServiceAPI::GetRepositoryTreeDelta() UserID:18 RepID:2 Base:667261 Target:667261 Calling VaultRepUtil.DiffRepTrees() - in-memory tree diff.
----06/03/2008 08:51:17 Librarian--ncltw-app0004.spdl-dev.net(127.0.0.1)--SSL Disabled GetRepositoryStructure returned: Success
----06/03/2008 08:51:17 Librarian--ncltw-app0004.spdl-dev.net(127.0.0.1)--SSL Disabled Getting list of checkout changes.
----06/03/2008 08:51:18 Librarian--ncltw-app0004.spdl-dev.net(127.0.0.1)--SSL Disabled Beginning SQL transaction 40853074
----06/03/2008 08:51:18 Librarian--ncltw-app0004.spdl-dev.net(127.0.0.1)--SSL Disabled GetCheckoutListChanges: Transaction Started
----06/03/2008 08:51:18 Librarian--ncltw-app0004.spdl-dev.net(127.0.0.1)--SSL Disabled SQL transaction 40853074 successfully committed.
----06/03/2008 08:51:18 Librarian--ncltw-app0004.spdl-dev.net(127.0.0.1)--SSL Disabled GetCheckoutListChanges: Transaction Committed
----06/03/2008 08:51:18 Librarian--ncltw-app0004.spdl-dev.net(127.0.0.1)--SSL Disabled GetCheckOutListChanges returned: Success
----06/03/2008 08:51:18 Librarian--ncltw-app0004.spdl-dev.net(127.0.0.1)--SSL Disabled GetUserEmailOptions returned Success
----06/03/2008 08:51:18 Librarian--ncltw-app0004.spdl-dev.net(127.0.0.1)--SSL Disabled TreeManager: cache matches repository revision and folder security hasn't changed. Returning cached tree, revID 667261
----06/03/2008 08:51:18 Librarian--ncltw-app0004.spdl-dev.net(127.0.0.1)--SSL Disabled ListWatchers returned Success
----06/03/2008 08:51:18 Librarian--ncltw-app0004.spdl-dev.net(127.0.0.1)--SSL Disabled ListCloakedObjects returned: Success
----06/03/2008 08:51:18 Librarian--ncltw-app0004.spdl-dev.net(127.0.0.1)--SSL Disabled GetRepositoryOptions returned: Success
----06/03/2008 08:51:18 Librarian--ncltw-app0004.spdl-dev.net(127.0.0.1)--SSL Disabled GetRepositories returned: Success
----06/03/2008 08:52:46 Librarian--ncltw-app0004.spdl-dev.net(127.0.0.1)--SSL Disabled SetUserOptions returned: Success
----06/03/2008 08:52:46 Librarian--ncltw-app0004.spdl-dev.net(127.0.0.1)--SSL Disabled GetUserOptions returned: Success
----06/03/2008 08:52:55 Librarian--ncltw-app0004.spdl-dev.net(127.0.0.1)--SSL Disabled Beginning SQL transaction 37952469
----06/03/2008 08:52:56 Librarian--ncltw-app0004.spdl-dev.net(127.0.0.1)--SSL Disabled System.Data.SqlClient.SqlException: Cannot insert the value NULL into column 'hostname', table 'tempdb.dbo.#releaselistitems___________________________________________________________________________________________________000000000002'; 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)
----06/03/2008 08:52:56 Librarian--ncltw-app0004.spdl-dev.net(127.0.0.1)--SSL Disabled SQL transaction 37952469 successfully rolled back.
----06/03/2008 08:52:56 Librarian--ncltw-app0004.spdl-dev.net(127.0.0.1)--SSL Disabled VaultLib.VaultRequestUndoCheckOut returned: FailDBFault
----06/03/2008 08:52:56 Librarian--ncltw-app0004.spdl-dev.net(127.0.0.1)--SSL Disabled UndoCheckout returned: FailDBFault
However, I ran up a second, totally clean server. Restored the SQL backup, installed 1.06, saw the done-but-not-notified undo behaviour. Upgraded to 1.1 and got the FailDBFault message. Which is a shame, as the undo-checkout behaviour is one of our biggest niggles with Fortress.
I've searched these forums and while there are other posts about FailDBFault, none of the solutions seem to work in this case
--
Marcus
(All test servers are VMWare Server 1.03, Windows 2003 Std, SQL Server 2005 Std, both 32-bit).