473,782 Members | 2,699 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 2099
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
1066
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
5373
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
2072
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
1122
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
1499
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
10331
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
2653
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
5393
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
1878
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
9639
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
10076
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
9939
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8964
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
7486
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
6729
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
5375
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...
1
4040
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
3
2870
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.