COM Member not found?

Add-in Express™ Support Service
That's what is more important than anything else

COM Member not found?
 
Zach Jeyakaran




Posts: 120
Joined: 2011-09-07
When calling Attachments.Remove(index), a couple users intermittently get the following exception:

System.Runtime.InteropServices.COMException (0x80020003): Member not found. (Exception from HRESULT: 0x80020003 (DISP_E_MEMBERNOTFOUND))

at Microsoft.Office.Interop.Outlook.Attachments.Remove(Int32 Index)

Do you have any advice on working around this exception?
Posted 18 Oct, 2011 15:58:26 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hi Zach,

What Outlook version do they use?

BTW What version and build number of Add-in Express do you use?
.NET, Extended MAPI, Windows Phone & RT
Posted 19 Oct, 2011 03:35:36 Top
Zach Jeyakaran




Posts: 120
Joined: 2011-09-07
Outlook version: 12.0.0.6562
Addin Express version: 6.5.3057.0
Posted 19 Oct, 2011 08:42:57 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hi Zach,

In one of my virtual PC I see that Outlook version is 12.0.6550.5003 (SP2). So, it looks like you didn't install the latest service packs for Outlook. Am I right?
.NET, Extended MAPI, Windows Phone & RT
Posted 19 Oct, 2011 10:01:24 Top
Zach Jeyakaran




Posts: 120
Joined: 2011-09-07
Good catch. I will suggest this to our user and let you know. Thank you!
Posted 19 Oct, 2011 10:25:47 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hi Zach,

Please let me know whether it helps in any case.
.NET, Extended MAPI, Windows Phone & RT
Posted 19 Oct, 2011 10:32:33 Top
Zach Jeyakaran




Posts: 120
Joined: 2011-09-07
The error is still occurring with the latest Outlook service pack installed.
Posted 21 Oct, 2011 10:01:37 Top
Andrei Smolin


Add-in Express team


Posts: 16616
Joined: 2006-05-11
Hi Zach,

Is that error reproducible for some special email? Does that email contain embedded pictures? Is the issue reproducible if you remove the pictures?

Regards from Belarus (GMT+2),

Andrei Smolin
Add-in Express Team Leader
Posted 21 Oct, 2011 10:21:01 Top