Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

291 views
Skip to first unread message

omr...@gmail.com

unread,
Sep 17, 2006, 3:46:19 AM9/17/06
to
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

Willy Denoyette [MVP]

unread,
Sep 17, 2006, 4:46:30 AM9/17/06
to

<omr...@gmail.com> wrote in message
news:1158479179.2...@m73g2000cwd.googlegroups.com...

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.


omr...@gmail.com

unread,
Sep 17, 2006, 6:56:03 AM9/17/06
to
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]

unread,
Sep 17, 2006, 8:05:36 AM9/17/06
to
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.


<omr...@gmail.com> wrote in message
news:1158490563....@k70g2000cwa.googlegroups.com...

omr...@gmail.com

unread,
Sep 18, 2006, 4:39:05 AM9/18/06
to
Thanks a lot :)
0 new messages