Error while deactivating

Hi, When I use Deactivate(true) for deactivating product key it pops up error - "Failed to Deactivate".What could be the issue.Thanks in anticipation.Lraj

Did you set the deactivation limit for the version or for the product key? If so, that's probably the error.