Last post Jun 06, 2009 12:45 PM by firstname.lastname@example.org
Jun 06, 2009 12:45 PMemail@example.com|LINK
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."
It is working on IE Version: 6.0.2900.2180.xpsp_sp2_gdr.070227-2254.
But not working on IE Version: 6.0.2900.2180.xpsp_sp2_gdr.090206-1233
Thanks for helps, [co]