Hi,
I am using Outlook 2003 professional and getting the "MAPI" Namespace reference using :
Microsoft.Office.Tools.Outlook.Application.GetNamespace(String Type)
The exception which i am getting is :
Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.Office.Interop.Outlook._Application'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{00063001-0000-0000-C000-000000000046}'
failed due to the following error: Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)).
Source : Microsoft.Office.Interop.Outlook
Any idea why