I have just had this error and have found it can also be caused by attempting to install a certificate in a Store Location/Name combination that is not appropriate for the certificate.
In this case the fix is to specify a correct Store Location and Name.
FOLLOW US