InvalidCastException is thrown in my ASP.Net code
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, Some one please help me in solving the below exception. Below is the exception thrown when I am calling a COM object RTCClient from ASP.NET: "Unable to cast COM object of type 'RTCCore.RTCClientClass' to interface type 'RTCCore.IRTCClient'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{07829E45-9A34-408E-A011-BDDF13487CD1}' failed with HRESULT: 0x80004002 (No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)))."} Calling COM from WinForm C# code working fine with no issue. This exception is thrown only when I call this COM from asp.net C# code.
Rakesh