CLSID Exception

M

Marcel Hug

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
 
N

Nicholas Paldino [.NET/C# MVP]

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.
 
M

Marcel Hug

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top