Page 1 of 1

Error on Commit

Posted: Wed Oct 21, 2009 4:55 pm
by splatteredbits
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?

Re: Error on Commit

Posted: Thu Oct 22, 2009 8:01 am
by shannon
Try subscribing to the UserMessage event:

ServerOperations.GetInstance().UserMessage