p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   C# (http://p2p.wrox.com/forumdisplay.php?f=22)
-   -   CAPICOM - Error 80040154 (http://p2p.wrox.com/showthread.php?t=59260)

glosrob June 20th, 2007 04:19 AM

CAPICOM - Error 80040154
 
I have written a simple C# console application that can be run to check the validity of certificates on a machine. Using a Win XP machine with SP2 it works fine with no errors.

When trying to put it on one of the other machines in our office, I get the following error:

"Error - Retrieving the COM class factory for component with CLSID {91D221C4-0CD4-461C-A728-01D509321556} failed due to the following error: 80040154"

The machine is running Windows 2000 but the CAPICOM library is installed and is supposed to work on Win 2000 machines.

The line of code the error refers to (after some investigation) is:
StoreClass localStore = new StoreClass();

Anyone have any ideas about either a workaround or what is causing this?



All times are GMT -4. The time now is 10:24 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.