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 8682189
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T21:42:15+00:00 2026-06-12T21:42:15+00:00

We have a 2 COM DLLs that are built the same way for .NET

  • 0

We have a 2 COM DLLs that are built the same way for .NET 3.0
– one that fetches data from the database
– one that fetches data from a webservice

We have always registered the DLLs using RegAsm.exe with the following commands:

cd "C:\Program Files\Dispatcher\COM\Custom"
C:\Windows\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe MercatorRepositoryCOM.dll /tlb:MercatorRepositoryCOM.tlb /codebase
C:\Windows\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe MercatorUtilitiesCOM.dll /tlb:MercatorUtilitiesCOM.tlb /codebase

This works on most of our servers (Win2008R2 32b)

On our newest server the output says: registered successfully.
However, the application can access the MercatorUtilitiesCOM.dll but not the MercatorRepositoryCOM.dll.

We have tried registering the DLLs using RegAsm, regsvr32, regtlibv12 and even adding them to GAC.
Nothing works.

Is there any way we can troubleshoot this better than “(10092) ActiveX Automation: server cannot create object.”? IS there any other way to try and register these DLLs?

We tried adding logging to the DLL code but the log is never written so we can assume the DLL is not even called.

PS: We have no choice but to expose these as COM DLLs because we have a scanning/indexing application based on VB6 that needs to reference these. It is Dispatcher (for those who might know it).

UPDATE: After further investigation, it looks like DLL might be registered correctly after all.
When we unregister it, we get a clear message that Dispatcher can’t find the DLL reference. When we register it, Dispatcher opens and then throws the ActiveX Automation error.
So it seems the DLL has been registered correctly, but for some reason it can’t instantiate my class inside the DLL.

SOLUTION: The issue was unrelated to DLL registration after all. Apparently there had some been some internal changes in the application the launches Dispatcher. It used to spawn it als a subprocess so it could use the same app.config but they changed it to run as a separate process (it’s own executable). This meant that it could not find our configs and endpoints in the app.config. We created a separate app.config for the new executable and it works.
Thanks for all your help!

  • 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-06-12T21:42:16+00:00Added an answer on June 12, 2026 at 9:42 pm

    The issue was unrelated to DLL registration after all. Apparently there had some been some internal changes in the application that launches Dispatcher. It used to spawn it als a subprocess so it could use the same app.config but they changed it to run as a separate process (its own executable). This meant that it could not find our configs and endpoints in the app.config. We created a separate app.config for the new executable and it works.

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

Sidebar

Related Questions

I have a COM object that I'm trying to use from C++ (not .NET),
I have a COM Callable Wrapper that I'm using from a VB6 program, but
I have built an ASP.NET MVC 3 web application (with exlusively Razor/cshtml pages) that
I've built a COM client application that uses two COM server dlls; I want
I have a COM inproc DLL that we are using in our product. Now
I have a COM outproc server written in ATL that registers itself using _Module.RegisterClassObjects(CLSCTX_LOCAL_SERVER,
I have a COM-Callable Wrapper on a .NET assembly. Some of the methods use
I have a COM component written in C# that makes calls to ConfigurationManager.AppSettings.Get(...). This
I have a COM object (C#, visual studio) with a function that takes a
I am currently studying COM. I found that COM DLL is kind of built

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.