473,692 Members | 2,537 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CLSID Exception

Hi NG !
I use a COM-Lib from Lotus Notes Domino.
If I initialize a NotesRichTextIt em i get the following exception:

An unhandled exception of type 'System.Runtime .InteropService s.COMException'
occurred in messagemaintain er.dll

Additional information: COM object with CLSID
{29131533-2EED-1069-BF5D-00DD011186B7} is either not valid or not
registered.
the other classes and interfaces of this lib works fine...
How can I solve this problem ?

Thanks and regards
Jan 4 '06 #1
2 2095
Marcel,

When you create an interop library and deploy it to another machine, you
have to make sure you install the original COM library on that machine as
well.

Are you sure that the COM object is installed on the machine correctly?

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Marcel Hug" <ma************ ******@ATch.abb .com> wrote in message
news:Oy******** ******@TK2MSFTN GP15.phx.gbl...
Hi NG !
I use a COM-Lib from Lotus Notes Domino.
If I initialize a NotesRichTextIt em i get the following exception:

An unhandled exception of type
'System.Runtime .InteropService s.COMException'
occurred in messagemaintain er.dll

Additional information: COM object with CLSID
{29131533-2EED-1069-BF5D-00DD011186B7} is either not valid or not
registered.
the other classes and interfaces of this lib works fine...
How can I solve this problem ?

Thanks and regards

Jan 4 '06 #2
Nicholas,
When you create an interop library and deploy it to another machine, you have to make sure you install the original COM library on that machine as
well.
Hmm ! I did not install my application on an other machine yet. From my app
i have to send a lotus notes mail.
So I created a reference to the Lotus Domino Lib, which would be installed
with the Lotus notes. In my application i can use and create a
NotesDocument-object, a NotesSession-object, a notesDatabase-object...all
with the us of this lib. But if i would like the create a NotesRichTextIt em
(with this lib) i get the exception. So the lib is installed and works on my
pc, but just the CLSID of the class NotesRichTextIt emClass does not work.
Are you sure that the COM object is installed on the machine

correctly?
I guess yes, because I can send a Lotus notes mail with the use of this lib,
just the notesRichTextIt em does not work....

Thanks for hints
Marcel
Jan 5 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1062
by: Gaston Fouché | last post by:
ex {System.Runtime.InteropServices.COMException} System.Exception COM object with CLSID {846298BC-047E-48D2-86CF-CDACAB0C9C24} is either not valid or not registered. Ok Im having a strange problem with this COM Dll. I have it working fine on another computer but I am building a new DEV machine and transfering my projects over and I get this error when trying to run one of my projects. Here is what I know and have done. - my Old...
4
5366
by: Ahmed | last post by:
i have tried running the csharpsite in my Microsoft Visual C#.net and after i hit the run button i keep getting the same error which is : Server Error in '/csharpsite' Application COM object with CLSID {3CFCB90E-B0B0-11D2-8D8B-00C04F79EE8F} is either not valid or not registered. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error...
1
2062
by: Jen | last post by:
Hi, I'm having an issue calling a dll from an ASP.NET page. The code that tries to instantiate a COM dll (class) is in a Class Library. I can call the code successfully from a windows application in the same solution but if I try to call the code from the web application I get the error: COM object with CLSID {E0BCDB1B-6B9B-4FD0-A61C-1AB848DB0720} is either not valid or not registered.
0
1116
by: VB Programmer | last post by:
I tried to make a VB.NET version of this: http://neevia.com/ex036csharp.htm I keep getting this error: Server Error in '/ProposalGenerator' Application. -------------------------------------------------------------------------------- COM object with CLSID {DEE34F1A-B8A8-469F-8475-BB5FAF943285} is either not valid or not registered. Description: An unhandled exception occurred during the execution of the
2
1488
by: Thomas Andersson | last post by:
Hi, I am trying to use a ActiveX Com component in a aspx web page. First I have made a reference to the .dll. I have also used aspCompat="true" in the page. Then I use the code below... Dim ObjDir As Mydll.Directory Dim ComFile As Mydll.File
4
10315
by: omrivm | last post by:
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?
0
2646
by: Olman Quesada | last post by:
Hi everybody, I'm trying to access a TLB in a VB.Net 2005 project. The TLB file is located under c:\windows\system32 directory. However, when a try to instanciate a variable whose type is declared in such TLB I got the following exception:
11
5386
Frinavale
by: Frinavale | last post by:
Hi guys, I've created a VB.Net project and have compiled it, run it, tested it on a machine that has a 32bit processor. I am now trying to move this project onto a 64bit processor server that is running IIS6. The project works wonderfully until it tries to access a DLL that is essential to the project. At that time I am getting the following error: Exception: Retrieving the COM class factory for component with CLSID{...} I have...
1
1866
by: BLavanya | last post by:
Hi, i have an windows application which uses an user built dll which uses COM dll. I have kept that dll in the bin and referenced in the project. it built sucessfully . I have created a setup.exe of this application and have installed in my machine . Now when i tried running the exe i got the following exception: "System.Runtime.InteropServices.COM Exception(0x80040154):COM object with CLSID{EAA4E7EC-19EC-4576-ABFB-128BC024B429} is either not...
0
9090
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8970
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8812
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
7639
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
6462
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
5822
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
4329
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
4564
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2242
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.