we done the integration in ASP and then they moved to ASP.net both of which was working fine. Initially we had asp.net 1.0 version.
Now we have moved to 2.0 version and while doing the same they are facing the below error.
Unable to cast COM object of type 'System.__ComOb ject' to class type 'e24TranPipeLib .e24TranPipeCtl Class'. COM components that enter the CLR and do not support IProvideClassIn fo or that do not have any interop assembly registered will be wrapped 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.
Now we have moved to 2.0 version and while doing the same they are facing the below error.
Unable to cast COM object of type 'System.__ComOb ject' to class type 'e24TranPipeLib .e24TranPipeCtl Class'. COM components that enter the CLR and do not support IProvideClassIn fo or that do not have any interop assembly registered will be wrapped 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.
Comment