1

I have two projects in the same computer that use the same dll (InputsSanitizer), the only difference between them is one is in IIS 7 and is a website, and the other one is not in IIS 7 and is a webapplication.

The one in IIS 7 is giving me this error:

enter image description here

The other one has no error at all, any advice here?

Somebody
  • 2,667
  • 14
  • 60
  • 100

2 Answers2

1

0x80040154 is REGDB_E_CLASSNOTREG, "Class not registered". {CE32ABF6-475D-41F6-BF82-D27F03E3D38B} stands for CAPICOM, a discontinued, 32-bit component.

I'm most sure this is a bitness mismatch problem. Recompile your project targeting x86 and enable 32-bit application in IIS.

acelent
  • 7,965
  • 21
  • 39
0

enter image description here

Enable 32-Bit Applications in the IIS Application pool.

Hope this help someone else.

Somebody
  • 2,667
  • 14
  • 60
  • 100