Page 1 of 1
VaultResponseObliterate.Status
Posted: Wed Feb 25, 2015 11:17 am
by luigi
Hi, I'm new on forum !
I try to write a massive obliterate app.
I want know what does VaultResponseObliterate.Status = 0x1 and troubleshooting to resolve this status.
I know only 0x0 and 0x960 values. The other values what does ?
Thank you.
Re: VaultResponseObliterate.Status
Posted: Wed Feb 25, 2015 1:25 pm
by Beth
Would our Advanced Obliterate Client not do what you need? It's in our Power Toys posted here:
http://www.sourcegear.com/vault/powerto ... _powertoys.
Re: VaultResponseObliterate.Status
Posted: Wed Feb 25, 2015 5:07 pm
by luigi
yes I've used, but is very uncomfortable
and with an high number of objects branched your tool is unusable
have you suggestion for my question ?
thank you
Re: VaultResponseObliterate.Status
Posted: Thu Feb 26, 2015 11:41 am
by Beth
Here is what I know. The following are members of VaultLib.VaultStatusCode:
// success
public const int Success = 0;
// failure
public const int Failure = 1;
// this api method is not yet implemented
public const int NotImplemented = 2;
// general warning
public const int Warning = 3;
// failed because a branch still exists
public const int FailObliterateBranchExists = 2400;
// failed because a an item is not deleted
public const int FailObliterateItemNotDeleted = 2401;
You could VaultLib.VaultStatusCode for some error information, or call the API's VaultLib.SoapException. GetSoapExceptionXXX() to get a more easy-to-understand error. This is only if the error is coming from Vault. If it's coming from IIS or other part of the server, then you need to see those error codes.