(Msg. 1) Posted: Tue Apr 22, 2008 8:37 am
Post subject: Problem with Outlook Interop Archived from groups: microsoft>public>outlook>interop (more info?)
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.
(Msg. 2) Posted: Wed Apr 23, 2008 9:34 am
Post subject: Re: Problem with Outlook Interop [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
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?
"Warren DuBois - MSFT" <WarrenDuBoisMSFT RemoveThis @discussions.microsoft.com> wrote in
message news:19D2B1C0-FCBC-4E5A-97BD-04D25CBDF5B2@microsoft.com...
> 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....
>
> --
> kiranpatil1983
All times are: Eastern Time (US & Canada) (change)
Page 1 of 1
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum