Check In failed

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

Moderator: SourceGear

Post Reply
springel
Posts: 4
Joined: Sun Apr 30, 2006 12:12 pm
Contact:

Check In failed

Post by springel » Sun Apr 30, 2006 12:25 pm

I just installed Vault to try it out.

Installation was successfull, I can login as admin and create a repository.

I can login as client, I can see the repository, but when I try to checkin, everything seems to proceed ok, but the commit fails:


======= from the message window in the vault client ===========
[30-4-2006 20:03:12] Ending the transaction
[30-4-2006 20:03:15] An error occurred while trying to end a transaction.
[30-4-2006 20:03:15] An exception was encountered during the transaction. Exception: Er is een uitzondering van het type System.Exception veroorzaakt. at VaultClientOperationsLib.ClientInstance.Commit(ChangeSetItemColl givenItems, Boolean keepCheckedOut, Boolean removeLocalCopy, Boolean bIsImport, DateTime dateImport, Int32 nUserIDImport, Int64& nRevID)
[30-4-2006 20:03:15] Transaction failed
[30-4-2006 20:03:15] Transaction failed
===========================================

In the eventlog of the server I find an entry (by perflib) about a failure of ASPNET to gain permission on the following item:
\WINNT\System32\WBEM\WinMgmt.exe.

I manually gave ASPNET permissions on the \WINNT\System32\WBEM folder but that didn't change anything

The vault logfiles in de WINNT\Temp directory only contain a headerline, no diagnostics.

The server runs on W2K workstation.

De SQL database is MSDE 2000.
Erik Springelkamp

mskrobul
Posts: 490
Joined: Wed Jan 14, 2004 10:22 am
Location: SourceGear
Contact:

Post by mskrobul » Mon May 01, 2006 3:33 pm

Are there any errors logged in the Client side Event viewer?

You may want to look at the following KB article for some resolutions to checkin failures and see if anything helps:

http://support.sourcegear.com/viewtopic.php?t=735
Mary Jo Skrobul
SourceGear

springel
Posts: 4
Joined: Sun Apr 30, 2006 12:12 pm
Contact:

Post by springel » Mon May 01, 2006 3:57 pm

This is the complete Client Side message log for an attempted operation:

=============================================
[1-5-2006 23:43:15] Version Check: This Vault client is version 3.1.8.3771
[1-5-2006 23:43:15] Version Check: Your Vault server is version 3.1.8.3771
[1-5-2006 23:43:16] Version Check: The following information was retrieved from the SourceGear website. No information was sent to SourceGear. You can disable this part of the version check from the Options dialog.
[1-5-2006 23:43:16] Version Check: The most recent Vault release is version 3.1.8.3771
[1-5-2006 23:43:37] Preparing data to begin transaction
[1-5-2006 23:44:17] Preparing data to begin transaction
[1-5-2006 23:44:17] Beginning transaction
[1-5-2006 23:44:17] Create folder $/NewProject
[1-5-2006 23:44:17] Ending the transaction
[1-5-2006 23:44:19] An error occurred while trying to end a transaction.
[1-5-2006 23:44:19] An exception was encountered during the transaction. Exception: Er is een uitzondering van het type System.Exception veroorzaakt. at VaultClientOperationsLib.ClientInstance.Commit(ChangeSetItemColl givenItems, Boolean keepCheckedOut, Boolean removeLocalCopy, Boolean bIsImport, DateTime dateImport, Int32 nUserIDImport, Int64& nRevID)
[1-5-2006 23:44:19] Transaction failed
[1-5-2006 23:44:20] Transaction failed
=============================================

The client works OK (from another PC than the server).
I get the repository, the operation (create folder) is attempted, but the commit fails.

But today I can see messages in the Vault server log (maybe it wasn't flushed yet yesterday)

==============================================
----1-5-2006 23:43:15 admin--VS(192.168.1.72)--SSL Disabled Login
----1-5-2006 23:44:17 admin--VS(192.168.1.72)--SSL Disabled System.Data.SqlClient.SqlException: Kan Msxml2.dll niet laden.
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
at VaultServiceSQL.VaultSqlSCC.CreateBubbleFolders(VaultSqlConn conn, Int32 nRepID, Int64 nTxID, String strXml, HybridDictionary& hdBubbles) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
at VaultServiceSQL.VaultSqlSCC.CreateBubbleFolders(VaultSqlConn conn, Int32 nRepID, Int64 nTxID, String strXml, HybridDictionary& hdBubbles)
----1-5-2006 23:44:17 admin--VS(192.168.1.72)--SSL Disabled Could not create bubble folders: Fout in de toepassing. at VaultServiceSQL.VaultSqlSCC.CreateBubbleFolders(VaultSqlConn conn, Int32 nRepID, Int64 nTxID, String strXml, HybridDictionary& hdBubbles)
at VaultServiceAPILib.VaultServiceAPI.SaveRepository(VaultTransactionContainer txContainer, VaultRepository repOld, VaultRepository repNew)
----1-5-2006 23:44:17 admin--VS(192.168.1.72)--SSL Disabled (df55d13c-df98-4b8d-bda6-0ba3f910dbf4) EndTx (Revision - 0) returned: FailDBInsert
----1-5-2006 23:44:17 admin--VS(192.168.1.72)--SSL Disabled (df55d13c-df98-4b8d-bda6-0ba3f910dbf4) AddFolder: $/NewProject returned: FailDBInsert
=============================================

So there seems to be something wrong with msxml2.dll

I do have msxml.dll and msxml3.dll on the server, not msxml2.dll

(who needs it? SQL server or Vault?)

Should I install it? Seperately?
Erik Springelkamp

mskrobul
Posts: 490
Joined: Wed Jan 14, 2004 10:22 am
Location: SourceGear
Contact:

Post by mskrobul » Mon May 01, 2006 4:03 pm

SQL server needs this file. You should install it.

This is a known issue. Please see the following KB article for the install link for the .dll.

http://support.sourcegear.com/viewtopic.php?t=5020
Mary Jo Skrobul
SourceGear

springel
Posts: 4
Joined: Sun Apr 30, 2006 12:12 pm
Contact:

Post by springel » Tue May 02, 2006 12:24 pm

Thank you.

It is working now.
Erik Springelkamp

Post Reply