Is there a way to make a COM or Interop work on IIS Server Deployed ASP.net MVC?

I created an MVC Site which have a reference to a custom maid Interop COM to a scanner machine.

It works on Debug mode on VS but, when I try to deploy it on IIS and access it. It gives me Retrieving the COM class factory for component with CLSID {3FEDB614-C25B-448C-AED3-2D38A6C95765} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).

The Thing is, the dll it self is already installed on my Machine, I think it is working on debug mode cause the IIS from VS is running differently or because I have a reference of the DLL needed.

But in IIS Deployment. Error Occurs. Any Ideas?

My main goal here is, to run the site on a Local Network and everyone can communicate with that site that has the Scanner Installed on.

Easy Idea, but hard implementation for me. And I am not even sure, if the call that I am doing is going to be made in the Host, rather than the Client.

Related posts

Recent Viewed