End Google Ads 201810 - BS.net 01 --> I have a .NET application which is using the Microsoft.mshtml PIA. It frequently experienced exceptions with a message saying that the Microsoft.mshtml assembly or one of its dependencies is missing. Weirdly enough, this happens on some machines, but works fine on others! (actually, it works fine on the majority of machines)

I have tried to resolve this problem by adding PIA as private assembly but problem was not resolved.
then I have installed Microsoft.mshtml PIA in client's machienes GAC through installer. But not working.

I am not getting why this dll is not working as private assembly.

I am getting following Error message:
"Error unable to cas COM object of type 'System._ComObject' to class type 'mshtml.HTMLSelectElementClass'.
components that enter the CLR and do not suppor IProvideClassInfo or that do not have any interop assembly registered will be wrappen in the_
ComObject type. Instances of this type cannot be cast to any other class; however they can be cast to interfaces as long as the underlying COM
component supports QueryInterface calls for the IID of the interface.
"

Thanks for helps,

Manoj