Problem with Outlook Interop

  • Thread starter Warren DuBois - MSFT
  • Start date
W

Warren DuBois - MSFT

Hi All,

Whenever I am trying to read linked contacts, recipients ands user
properties from Outlook appointment items,

i am getting below exceptions:

1)while reading linked contacts

Unable to cast COM object of type 'System.__ComObject' to interface type
'Microsoft.Office.Interop.Outlook.Links'. This operation failed because the
QueryInterface call on the COM component for the interface with IID
'{0006308A-0000-0000-C000-000000000046}' failed due to the following error:
No such interface supported (Exception from HRESULT: 0x80004002
(E_NOINTERFACE)).
at Microsoft.Office.Interop.Outlook.Links.get_Count()

2)while reading user properties

Unable to cast COM object of type 'System.__ComObject' to interface type
'Microsoft.Office.Interop.Outlook.UserProperties'. This operation failed
because the QueryInterface call on the COM component for the interface with
IID '{0006303D-0000-0000-C000-000000000046}' failed due to the following
error: No such interface supported (Exception from HRESULT: 0x80004002
(E_NOINTERFACE)).

3)while reading recipients

Unable to cast COM object of type 'System.__ComObject' to interface type
'Microsoft.Office.Interop.Outlook.Recipients'. This operation failed because
the QueryInterface call on the COM component for the interface with IID
'{0006303B-0000-0000-C000-000000000046}' failed due to the following error:
No such interface supported (Exception from HRESULT: 0x80004002
(E_NOINTERFACE)).
at Microsoft.Office.Interop.Outlook.Recipients.get_Count()

Any idea why this is happening only on my machine and working fine on all
the other test machines.

I have Outlook 2003 and I have installed all the office updates.

Please Help....
 
K

Ken Slovak - [MVP - Outlook]

Did you install the Framework before you installed Office 2003?

Are the PIA's for Office/Outlook 2003 installed on your machine?

Did you install KB 908002 (http://support.microsoft.com/kb/908002)? That's
needed if you installed Framework 2.0 after installing Office 2003.

What language is your code in?

Can you show some short snippets of the code you are using where the
exceptions are thrown?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top