need help using CryptoAPI from COM object in IIS5



I am a newbie for Crypto.... I am attempting to develop a COM/ATL
component that uses the CryptoAPI that I can then use it from
ASP/VBScript. The component works fine when is called from a C++
executable or VB program. Unfortunately when using the component under
VBScript on Win2000/IIS5.0, the component fails on the call to
CryptAcquireContext. The value returned by GetLastError() is 2 (File
not found?). I made sure the iuser_machinename account has fuul access
to the crypto directory under All Users / Apllications Data /
Microsoft. I have tried broadening the privileges of the
iuser_machinename account, but have met with no success.


Does anyone have any pointers on how I can make this work?


Thanks,
Ronnie
radar at pennypublications dot net

.