471,605 Members | 1,501 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,605 software developers and data experts.

CLSID Exception

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

An unhandled exception of type 'System.Runtime.InteropServices.COMException'
occurred in messagemaintainer.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 2039
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.com

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

An unhandled exception of type
'System.Runtime.InteropServices.COMException'
occurred in messagemaintainer.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 NotesRichTextItem
(with this lib) i get the exception. So the lib is installed and works on my
pc, but just the CLSID of the class NotesRichTextItemClass 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 notesRichTextItem does not work....

Thanks for hints
Marcel
Jan 5 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Ahmed | last post: by
reply views Thread by VB Programmer | last post: by
reply views Thread by MichaelMortimer | last post: by
reply views Thread by CCCYYYY | last post: by

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.