Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 20th, 2007, 04:19 AM
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 11:40 AM.

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