Hi,
i have created an application that access Exchange Server using Redemption. it works fine in my machine ( i have outlook 2007 at my machine) but when i run same application in other system containing outlook express it gives me the following error:
creating an instance of the COM component with CLSID{ } from the IClassFatory failed due to the following error:80004005.
NOTE: This error comes while creating the new RDOSession object.
Please tell me the reason and what should i do to achive this.
Many Thanks for the solution in advance.
here is the code:
Redemption.RDOSession rdoSession = new Redemption.RDOSession(); rdoSession.Logon(OL_USER, OL_SERVER,false,false,null,null); MessageBox.Show("STORE KIND: " + rdoSession.Stores.DefaultStore.StoreKind.ToString()); MessageBox.Show("Store Name: : " + rdoSession.Stores.DefaultStore.Name);
foreach (Redemption.RDOReminder reminder in rdoSession.Stores.DefaultStore.Reminders)
{
MessageBox.Show("Reminders: : "+ reminder.Caption);
}
===========================UPDATED================================ yes to access Excnahge Server I have to call method LogonExchangeMailbox() instead of Log On but the problem is on creating the new instance of RDOSession it gives the exception and this exception comes in m/c where outlook express is installed but working fine where outlook 2007 is installed.
EXCEPTION : "creating an instance of the COM component with CLSID{ } from the IClassFatory failed due to the following error:80004005."