Error on Commit

Post your questions regarding using the Vault and Fortress API in your programs.

Moderator: SourceGear

Post Reply
splatteredbits
Posts: 18
Joined: Fri Mar 06, 2009 12:27 pm

Error on Commit

Post by splatteredbits » Wed Oct 21, 2009 4:55 pm

When I try and commit via the client API, I get an error:

Code: Select all

Type: System.Exception
Commit failed
 at VaultClientIntegrationLib.ServerOperations.ProcessCommandCommit(ChangeSetItemColl csic, UnchangedHandler unchanged, Boolean keepCheckedOut, LocalCopyType localCopy, Boolean removeLocalCopy, Boolean resolveMerge, ChangeSetItemColl& csicRemove)
 at VaultClientIntegrationLib.ServerOperations.ProcessCommandCommit(ChangeSetItemColl csic, UnchangedHandler unchanged, Boolean keepCheckedOut, LocalCopyType localCopy, Boolean removeLocalCopy, ChangeSetItemColl& csicRemove)
 at VaultClientIntegrationLib.ServerOperations.ProcessCommandCommit(ChangeSetItemColl csic, UnchangedHandler unchanged, Boolean keepCheckedOut, LocalCopyType localCopy, Boolean removeLocalCopy)
 at WebMD.Vault.Facade.VaultFacade.Commit(String[] filesOrFolders, String comment) in C:\Build\Current\Tools\WebMD.Vault\src\Facade\VaultFacade.cs:line 56
 at WebMD.MSBuild.Vault.Commit.Execute() in C:\Build\Current\Tools\src\WebMD\Build\WebMDMSBuildTasks\Vault\Commit.cs:line 38
How can I figure out what is causing this exception?

shannon

Re: Error on Commit

Post by shannon » Thu Oct 22, 2009 8:01 am

Try subscribing to the UserMessage event:

ServerOperations.GetInstance().UserMessage

Post Reply