none
CertEnroll.dll

    Question

  • I am using CertEnroll.dll assuming it was introduced in Windows 2008, it works fine on Windows 2008 R2, but exception is thrown on Windows 2008 (NOT R2):

    When I call API to create a certificate request InitializeFromPrivateKey()

    • Unable to cast COM object of type 'System.__ComObject' to interface type 'CERTENROLLLib.CX509CertificateRequestPkcs10'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{728AB35B-217D-11DA-B2A4-000E7BBB2B09}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).

    Any help is appreciated.

    Thursday, February 09, 2012 10:17 PM

All replies