Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 20th, 2007, 04:19 AM
Registered User
 
Join Date: Jun 2007
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?






Similar Threads
Thread Thread Starter Forum Replies Last Post
Insert Query Error & Run-Time Error 3022 DavidWE Access 1 July 31st, 2008 11:17 AM
Error 80040154 bpabmeyer Pro Visual Basic 2005 6 May 30th, 2007 10:44 AM
capicom in dts bostonrose SQL Server ASP 1 January 17th, 2007 06:35 AM
capicom in dts bostonrose General .NET 1 October 24th, 2006 02:14 PM
Problem Using CAPICOM, CDOSYS and EXCEL Interop wi ParthaChoudhury General .NET 0 May 3rd, 2004 03:59 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.