Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6106179
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T14:03:07+00:00 2026-05-23T14:03:07+00:00

I have a messy situation wrapping a couple of 3rd party COM components. Actually

  • 0

I have a messy situation wrapping a couple of 3rd party COM components. Actually it’s one COM component and several .NET assemblies. The .NET assemblies in turn depend on the same 3rd party’s internal COM component. When I have the COM DLLs registered, my code works fine (right now I’m testing from C#). When I don’t, it fails. What’s the best way to debug that?

I generated the SxS manifest by adding a reference to the COM components, setting Isolated=true, then extracting the resulting comClass elements from the manifest into my own SxS manifest. Also, it seems to create an Interop.XXX.dll file: what is that for?

Some example error messages:

"Retrieving the COM class factory for component with CLSID {012A4BEB-99EC-4A65-A4AF-7D09A20B5034} failed due to the following error: 80040154."

"HSREADWRITELib::ReadWriteData, CreateInstance"
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T14:03:07+00:00Added an answer on May 23, 2026 at 2:03 pm

    This is the most basic failure you can get from reg-free COM, it is not using the manifest or the manifest is incorrect. Verify that your manifest has a <file> element that names the COM DLL and contains a <comClass> element with a “clsid” attribute that has the same guid as the one that the exception message is complaining about.

    Then make sure that the manifest is embedded in the client executable. You can see it with File + Open + File in Visual Studio, open the RT_MANIFEST node.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am caught up in a real messy situation. Scenario: I have a Excel
We have an Entity Framework project with several models set up using .NET 4
The Situation I have a WPF program that I want to print several documents
Okay, the situation is as following: I have one client that has 2 settings:
We have a bit of a messy database situation. Our main back-office system is
I have a messy stored procedure which uses dynamic sql. I can debug it
We (my colleagues) have a messy 12 y.o. mature app that is GUI-based, and
I have inherited a somewhat messy query that I am working on refactoring to
Have deployed numerous report parts which reference the same view however one of them
I have a box in one of my websites that has a these property:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.