473,910 Members | 4,173 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 2105
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
1068
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
5378
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
2081
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
1127
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
1506
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
10344
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
2660
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
5403
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
1883
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
10037
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...
0
9879
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11349
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
7250
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
5939
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
6142
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4776
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
4337
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3360
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.