From: Salva on
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

From: Pegasus [MVP] on


"Salva" <Salva(a)discussions.microsoft.com> wrote in message
news:AA3F4381-3E43-4C17-BED5-0CDB9F1809A8(a)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.

From: PA Bear [MS MVP] on
[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