This operation failed because the QueryInterface call on the COM - Microsoft Community


after updating our product use latest redemption libs fixed outlook 2016 integration/compatibility issue getting other issues code changes needed.

we using interop.redemption 

runtime v4.0.30319

version 5.10.0.0

i needed change below code since rdomailclass had become obsolete.

var rdomail =

                    rdosession.getdefaultfolder(rdodefaultfolders.olfolderdrafts).items.add("ipm.note") as

                    rdomailclass;

 

to this

 

var rdomail =

                    rdosession.getdefaultfolder(rdodefaultfolders.olfolderdrafts).items.add("ipm.note") as

                    rdomail;

it seems though older versions of outlook throw exception.

unable cast com object of type 'system.__comobject' interface type 'redemption.irdosession'. operation failed because queryinterface call on com component interface iid '{e54c5168-aa8c-405f-9c14-a4037302bd9d}' failed due following error: no such interface supported (exception hresult: 0x80004002 (e_nointerface)).

the app config contains legacy support.

 <startup uselegacyv2runtimeactivationpolicy="true">
    <supportedruntime version="v4.0" sku=".netframework,version=v4.5" />
  </startup>

hi terrydechaney,

description, understand using 3rd party interop.redemption application software. however, such kind of 3rd party application not supported in our forum.

regarding requirement, suggest please contact application provider support further assistance.

appreciate kind understanding.

best regards,
shyamal


Office / Outlook / Other/unknown / Office 365 for business



Comments

Popular posts from this blog

Outlook Rules not Running Automatically - Microsoft Community

message deleted by transport agent, event: LED=550 4.3.2 - Microsoft Community

Microsoft Office Exchange Error message - Microsoft Community