1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Error message with CAPICOM 2.1.0.2 Not enough storage is available

Discussion in 'Windows XP' started by Salva, May 11, 2010.

  1. Salva

    Salva Flightless Bird

    Hi everybody,

    I need some help.

    With CAPICOM 2.1.0.1, when I try to store certificates from a smart card I use

    Store := CoStore.Create;
    Cert:=CreateComObject(CLASS_Certificate) as ICertificate2;
    Store.Open(CAPICOM_SMART_CARD_USER_STORE,
    'MY',CAPICOM_STORE_OPEN_READ_ONLY);

    without any problem.

    I have updated with CAPICOM 2.1.0.2, and the same code produces an error
    message:"Not enough storage is available to complete this operation" when
    store.open.

    I need use this library.

    My os is Microsoft Windows XP Professional Version 2002. SP3.
    My Internet explorer is Windows Internet Explorer 8 Version 8.0.6001.18702.

    Can you help me, please?

    Thank you.
    Salva
     
  2. Pegasus [MVP]

    Pegasus [MVP] Flightless Bird

    "Salva" <Salva@discussions.microsoft.com> wrote in message
    news:AA3F4381-3E43-4C17-BED5-0CDB9F1809A8@microsoft.com...
    > Hi everybody,
    >
    > I need some help.
    >
    > With CAPICOM 2.1.0.1, when I try to store certificates from a smart card I
    > use
    >
    > Store := CoStore.Create;
    > Cert:=CreateComObject(CLASS_Certificate) as ICertificate2;
    > Store.Open(CAPICOM_SMART_CARD_USER_STORE,
    > 'MY',CAPICOM_STORE_OPEN_READ_ONLY);
    >
    > without any problem.
    >
    > I have updated with CAPICOM 2.1.0.2, and the same code produces an error
    > message:"Not enough storage is available to complete this operation" when
    > store.open.
    >
    > I need use this library.
    >
    > My os is Microsoft Windows XP Professional Version 2002. SP3.
    > My Internet explorer is Windows Internet Explorer 8 Version
    > 8.0.6001.18702.
    >
    > Can you help me, please?
    >
    > Thank you.
    > Salva
    >


    This error condition can be generate under a large number of conditions - it
    all depends on the application. You can generate it yourself like so:
    1. Open a Command Prompt.
    2. Type this command: cscript %comspec%\
    (don't forget the trailing backslash!)

    You need to discuss the problem with the Capicom helpdesk. Perhaps you can
    find an answer in the Capicom FAQs.
     
  3. PA Bear [MS MVP]

    PA Bear [MS MVP] Flightless Bird

    [Background info for lurkers:
    http://groups.google.com/group/microsoft.public.windowsupdate/browse_frm/thread/948b46e8d7353903]

    Salva wrote:
    > Hi everybody,
    >
    > I need some help.
    >
    > With CAPICOM 2.1.0.1, when I try to store certificates from a smart card I
    > use
    >
    > Store := CoStore.Create;
    > Cert:=CreateComObject(CLASS_Certificate) as ICertificate2;
    > Store.Open(CAPICOM_SMART_CARD_USER_STORE,
    > 'MY',CAPICOM_STORE_OPEN_READ_ONLY);
    >
    > without any problem.
    >
    > I have updated with CAPICOM 2.1.0.2, and the same code produces an error
    > message:"Not enough storage is available to complete this operation" when
    > store.open.
    >
    > I need use this library.
    >
    > My os is Microsoft Windows XP Professional Version 2002. SP3.
    > My Internet explorer is Windows Internet Explorer 8 Version
    > 8.0.6001.18702.
    >
    > Can you help me, please?
    >
    > Thank you.
    > Salva
     

Share This Page