473,756 Members | 2,558 Online
Bytes | Software Development & Data Engineering Community
+ 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.RDOA ddressBook 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 10318

<om****@gmail.c omwrote in message
news:11******** **************@ m73g2000cwd.goo glegroups.com.. .
| Hi,
| I have a problem with Outlook Redemption, every time I'm trying to
| create a new RDOAddressBook:
| Redemption.RDOA ddressBook 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.RDOR ecipients r = null;
Redemption.RDOS ession s = new RDOSession();
s.Logon(null, null, null, null, null, null);

r = s.AddressBook.S howAddressBook( null, null, null, null, null, null,
null, null, null);

i get another exception:
"Error in IAddrBook.Addre ss: MAPI_E_NOT_INIT IALIZED"

why?

Thanks,
Omri
Willy Denoyette [MVP] wrote:
<om****@gmail.c omwrote in message
news:11******** **************@ m73g2000cwd.goo glegroups.com.. .
| Hi,
| I have a problem with Outlook Redemption, every time I'm trying to
| create a new RDOAddressBook:
| Redemption.RDOA ddressBook 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.MAPI OBJECT property
like this:

Session.MAPIOBJ ECT = Application.Ses sion.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.c omwrote in message
news:11******** *************@k 70g2000cwa.goog legroups.com...
| Hi Willy,
| Thanks but now:
| Redemption.RDOR ecipients r = null;
| Redemption.RDOS ession s = new RDOSession();
| s.Logon(null, null, null, null, null, null);
|
| r = s.AddressBook.S howAddressBook( null, null, null, null, null, null,
| null, null, null);
|
| i get another exception:
| "Error in IAddrBook.Addre ss: MAPI_E_NOT_INIT IALIZED"
|
| why?
|
| Thanks,
| Omri
|
|
| Willy Denoyette [MVP] wrote:
| <om****@gmail.c omwrote in message
| news:11******** **************@ m73g2000cwd.goo glegroups.com.. .
| | Hi,
| | I have a problem with Outlook Redemption, every time I'm trying to
| | create a new RDOAddressBook:
| | Redemption.RDOA ddressBook 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.MAPI OBJECT property
like this:

Session.MAPIOBJ ECT = Application.Ses sion.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.c omwrote in message
news:11******** *************@k 70g2000cwa.goog legroups.com...
| Hi Willy,
| Thanks but now:
| Redemption.RDOR ecipients r = null;
| Redemption.RDOS ession s = new RDOSession();
| s.Logon(null, null, null, null, null, null);
|
| r = s.AddressBook.S howAddressBook( null, null, null, null, null, null,
| null, null, null);
|
| i get another exception:
| "Error in IAddrBook.Addre ss: MAPI_E_NOT_INIT IALIZED"
|
| why?
|
| Thanks,
| Omri
|
|
| Willy Denoyette [MVP] wrote:
| <om****@gmail.c omwrote in message
| news:11******** **************@ m73g2000cwd.goo glegroups.com.. .
| | Hi,
| | I have a problem with Outlook Redemption, every time I'm trying to
| | create a new RDOAddressBook:
| | Redemption.RDOA ddressBook 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
4773
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 {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 8007007e" is thrown during processing of the statement: "Microsoft.Office.Interop.Outlook.Application outlook_app = new
1
9448
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 I try to create my SQL connection in the code-behind, I get the following error. I tried to register the DLL using regsvr32 but that errored out saying, "dllregisterserver entry point was not found". Any ideas? Retrieving the COM class factory...
8
3924
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 objBaseView = new act.CAIBaseView(); act.CAIViews objViewsCollection = new act.CAIViews();
3
1624
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 is generating the error is: act.CAIBaseView objBaseView = new act.CAIBaseView();
0
2967
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) website was working fine with COM components. But when I updated COM and referanced it again, I got error on website.
2
10733
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 following error: Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80040154. When reaching the line: Outlook.Application outlookApp = new...
1
5365
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 for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80070005. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more...
4
4584
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 project,Every thing is ok and execute my project and generate report on VS2005 BUT when i publish it in local host , the error comes as Retrieving the COM class factory for component with CLSID {4764040E-4222-4DEC-9F2E-82D46E212B3A} failed due to the...
3
14140
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 project,Every thing is ok and execute my project and generate report on VS2005 BUT when i publish it in local host (IIS 5.1), the error comes as Retrieving the COM class factory for component with CLSID {4764040E-4222-4DEC-9F2E-82D46E212B3A} failed due to...
0
9462
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
9857
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8723
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7259
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6542
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5155
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5318
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3817
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 we have to send another system
2
3369
muto222
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.