By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,780 Members | 1,550 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,780 IT Pros & Developers. It's quick & easy.

Outlook Redemption problem: Retrieving the COM class factory for component with CLSID {...} failed due to the following error: 80040154.

P: n/a
Hi,
I have a problem with Outlook Redemption, every time I'm trying to
create a new RDOAddressBook:
Redemption.RDOAddressBook AB = new RDOAddressBook();
I get:
"Retrieving the COM class factory for component with CLSID {...GUID...}
failed due to the following error: 80040154."
I tried to reregister the Redemption DLL but I still get this
exception...
My OS is win server 2003 sp1 it may be the problem?

Thanks,
Omri

Sep 17 '06 #1
Share this Question
Share on Google+
4 Replies


P: n/a

<om****@gmail.comwrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...
| Hi,
| I have a problem with Outlook Redemption, every time I'm trying to
| create a new RDOAddressBook:
| Redemption.RDOAddressBook AB = new RDOAddressBook();
| I get:
| "Retrieving the COM class factory for component with CLSID {...GUID...}
| failed due to the following error: 80040154."
| I tried to reregister the Redemption DLL but I still get this
| exception...
| My OS is win server 2003 sp1 it may be the problem?
|
| Thanks,
| Omri
|

Please check the Redemption object model, IMO this RDOAddressBook is not a
creatable class, you need to create a RDOSession object and from this
instance, retrieve the RDOAddressBook property.

Willy.
Sep 17 '06 #2

P: n/a
Hi Willy,
Thanks but now:
Redemption.RDORecipients r = null;
Redemption.RDOSession s = new RDOSession();
s.Logon(null, null, null, null, null, null);

r = s.AddressBook.ShowAddressBook(null, null, null, null, null, null,
null, null, null);

i get another exception:
"Error in IAddrBook.Address: MAPI_E_NOT_INITIALIZED"

why?

Thanks,
Omri
Willy Denoyette [MVP] wrote:
<om****@gmail.comwrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...
| Hi,
| I have a problem with Outlook Redemption, every time I'm trying to
| create a new RDOAddressBook:
| Redemption.RDOAddressBook AB = new RDOAddressBook();
| I get:
| "Retrieving the COM class factory for component with CLSID {...GUID...}
| failed due to the following error: 80040154."
| I tried to reregister the Redemption DLL but I still get this
| exception...
| My OS is win server 2003 sp1 it may be the problem?
|
| Thanks,
| Omri
|

Please check the Redemption object model, IMO this RDOAddressBook is not a
creatable class, you need to create a RDOSession object and from this
instance, retrieve the RDOAddressBook property.

Willy.
Sep 17 '06 #3

P: n/a
You need an explicit Logon to a MAPI profile, or if the MAPI session is
already initialized, you have to set the RDOSession.MAPIOBJECT property
like this:

Session.MAPIOBJECT = Application.Session.MAPIOBJECT

but honestly, you need to take some time-out and study the RDO objects
model, and/or post to an outlook NG or forum, you might get better answers
there.

Willy.
<om****@gmail.comwrote in message
news:11*********************@k70g2000cwa.googlegro ups.com...
| Hi Willy,
| Thanks but now:
| Redemption.RDORecipients r = null;
| Redemption.RDOSession s = new RDOSession();
| s.Logon(null, null, null, null, null, null);
|
| r = s.AddressBook.ShowAddressBook(null, null, null, null, null, null,
| null, null, null);
|
| i get another exception:
| "Error in IAddrBook.Address: MAPI_E_NOT_INITIALIZED"
|
| why?
|
| Thanks,
| Omri
|
|
| Willy Denoyette [MVP] wrote:
| <om****@gmail.comwrote in message
| news:11**********************@m73g2000cwd.googlegr oups.com...
| | Hi,
| | I have a problem with Outlook Redemption, every time I'm trying to
| | create a new RDOAddressBook:
| | Redemption.RDOAddressBook AB = new RDOAddressBook();
| | I get:
| | "Retrieving the COM class factory for component with CLSID
{...GUID...}
| | failed due to the following error: 80040154."
| | I tried to reregister the Redemption DLL but I still get this
| | exception...
| | My OS is win server 2003 sp1 it may be the problem?
| |
| | Thanks,
| | Omri
| |
| >
| Please check the Redemption object model, IMO this RDOAddressBook is not
a
| creatable class, you need to create a RDOSession object and from this
| instance, retrieve the RDOAddressBook property.
| >
| Willy.
|
Sep 17 '06 #4

P: n/a
Thanks a lot :)
Omri
Willy Denoyette [MVP] wrote:
You need an explicit Logon to a MAPI profile, or if the MAPI session is
already initialized, you have to set the RDOSession.MAPIOBJECT property
like this:

Session.MAPIOBJECT = Application.Session.MAPIOBJECT

but honestly, you need to take some time-out and study the RDO objects
model, and/or post to an outlook NG or forum, you might get better answers
there.

Willy.
<om****@gmail.comwrote in message
news:11*********************@k70g2000cwa.googlegro ups.com...
| Hi Willy,
| Thanks but now:
| Redemption.RDORecipients r = null;
| Redemption.RDOSession s = new RDOSession();
| s.Logon(null, null, null, null, null, null);
|
| r = s.AddressBook.ShowAddressBook(null, null, null, null, null, null,
| null, null, null);
|
| i get another exception:
| "Error in IAddrBook.Address: MAPI_E_NOT_INITIALIZED"
|
| why?
|
| Thanks,
| Omri
|
|
| Willy Denoyette [MVP] wrote:
| <om****@gmail.comwrote in message
| news:11**********************@m73g2000cwd.googlegr oups.com...
| | Hi,
| | I have a problem with Outlook Redemption, every time I'm trying to
| | create a new RDOAddressBook:
| | Redemption.RDOAddressBook AB = new RDOAddressBook();
| | I get:
| | "Retrieving the COM class factory for component with CLSID
{...GUID...}
| | failed due to the following error: 80040154."
| | I tried to reregister the Redemption DLL but I still get this
| | exception...
| | My OS is win server 2003 sp1 it may be the problem?
| |
| | Thanks,
| | Omri
| |
| >
| Please check the Redemption object model, IMO this RDOAddressBook is not
a
| creatable class, you need to create a RDOSession object and from this
| instance, retrieve the RDOAddressBook property.
| >
| Willy.
|
Sep 18 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.