View Single Post
  #1 (permalink)  
Old June 20th, 2007, 04:19 AM
glosrob glosrob is offline
Registered User
 
Join Date: Jun 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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?

Reply With Quote