problem create PKCS10

From: flor_lai (
Date: 01/14/04

Date: Wed, 14 Jan 2004 10:51:44 -0500

 ''' cert usage: Client Authentication Certificate
 ''' id_kp_clientAuth,id_kp_emailProtection
const sCertUsage = ","
strDN = "CN=test,OU=dev,O=abc.,C=CA,"

Set xenrollobj = server.CreateObject("CEnroll.CEnroll.1")
xenrollobj.GenKeyFlags=xenrollobj.GenKeyFlags OR CRYPT_EXPORTABLE

strReq = xenrollobj.createPKCS10(strDN, sCertUsage)

I got Error -2147024894 ( 0x80070002 ).
I search from MS error code, This mean "Windows system errors--The system
cannot find the file specified"

What is error mean? How to solve it?
This is server side VBscript. I try to create pkcs10 in Server Side.
Or Is any other method create the PKCS10 ?

thx for help

Relevant Pages

  • Re: Error 98,90
    ... All the workstations are running WindowsXPpro and the Server is ... An other error code in the same situation is 98,89. ... but I don't know if it will work on a windows system. ...
  • RE:
    ... Subject: sshfs/nfs cause server lockup ... atapci0: port ... cleaning up the object tree ... *** Error code 1 ...
  • Re: Deseperately Need Your HELP!
    ... server and all exchnage services are fine. ... The error *sounds* like it could be an issue with the Computer Account. ... Error code 0XC0070574: Logon Failure: The target ... name is incorrect. ...
  • Re: Sharepoint Portal Server issue post-SPS SP2
    ... FrondEnd Server + SQL Server ... Context: http://intranet/ Application, Portal_Content Catalog ... at Microsoft.SharePoint.Portal.Data.a.c(SqlCommand, Boolean) ...
  • Re: cannot uninstall Exchange 2003 from a DC
    ... I recall there is an article said something wrong when you tried to remove Exchange server, you may have to re-install DC. ... Error code 0XC0070035: The network path was not found. ... HrPromptForCDIfNecessary: encountered error 0XC0070035, sleeping ...