473,473 Members | 2,158 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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

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
4 10285

<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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: toduro | last post by:
Using Visual C# 2005 Express Edition and Microsoft Office Outlook 2003. An exception with message: "Retrieving the COM class factory for component with CLSID...
1
by: jimmyfo | last post by:
Hi, I recently wrote an ASP.Net web application in VS2005 and published (using VS2005 Publish feature) it to a relatively clean machine with ASP.Net 2.0 and MDAC 2.8 installed on it. However, when...
8
by: Gary | last post by:
I'm using an Act database. I was stuck on this a year ago and am still having trouble. I have three bits of code like so : - act.CActAppObj objACT = new act.CActAppObj(); act.CAIBaseView...
3
by: Gary | last post by:
I am getting the following errors. Retrieving the COM class factory for component with CLSID {0CD44B28-F861-11D0-9B45-006097B00E23} failed due to the following error: 80040154." The code that...
0
by: Shailesh Patel | last post by:
Hi, I get the following error. Retrieving the COM class factory for component with CLSID {F84433FF-2369-4427-B6FB-3CBA67EDA7EB} failed due to the following error: 80040154 ASP.NET(VB.NET)...
2
by: RodneyAnonymous | last post by:
I've got some code for composing an e-mail from the contents of an RTF box. The first time I execute it, everything works fine. If I close my app and then re-run it, however, I always receive the...
1
by: Jyoti Ranjan | last post by:
I am facing one problem shown below. If possible can u suggest something for the same. Server Error in '/1' Application. ________________________________________ Retrieving the COM class factory...
4
by: mojde | last post by:
Hi all, I am using : 1. Windows XP-Visual Studio 2005 2. FastReport Studio Trial (www.fast-report.com) I have used FastReport Studio Trial (FastReport3.dll) in my ASP.NET web Site...
3
by: mojde | last post by:
Hi all, I am using : 1. Windows XP-Visual Studio 2005 2. FastReport Studio Trial (www.fast-report.com) I have used FastReport Studio Trial (FastReport3.dll) in my ASP.NET web Site...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.