how to register a com component on windows server 2012 R2

-1

This is my first time using com components so I don't know much about how it works.

I developed an ASP.net c# web form app, in order to deploy it on a server using IIS. I had Visual Studio installed on the windows server ran the app from it to make sure it works fine, no problems up to this point.

When I publish the app from visual studio, and put the file system generated inside inetpub/wwwroot... the pages load fine but just when a I try feature of the app that needs an external library, an exception is raised exactly in the line where the first external library's object instaciated within the code (Information givven by the log).

Here is the error trace I got from my log :

Retrieving the COM class factory for component with CLSID {ED0EC116-16B8-44CC-A68A-41BF6E15EB3F} failed due to the following error : 80070154 Class not registred (Exception HRESULT : 0x80040154 (REGDB_E_CLASSNOTREG)).

When I search for the clsid in component services, it is nowhere to be found thaugh I can find it in the registry editor. Since it seems that the dll is not registred, I tried to do it using regsvr, but I still stumble on the same situation: The clsid available in component services but not in the registry editor. How can I adress this issue? Did I mess the part where I use regsvr?

Thanks in advance,

iis
components
web-deployment
windows-server-2012-r2
dllregistration
asked on Stack Overflow Jan 23, 2020 by Marouane

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0