Managed Exchange Event Sinks: COM Registration

Managed Exchange Event Sinks: COM Registration

Post by RXJpa0 » Wed, 20 Apr 2005 00:54:03


Hi,

this might be more of a .NET Framework question, but I have the following
problem:

I am trying to build a managed event sink for Exchange 2003 by following the
steps outlined in the MSDN article 'Building Managed Event Sink DLLs'
( http://www.yqcomputer.com/ ).
Everything seems to work fine, but if I try to build the DLL I get the
following error:

COM Interop registration failed. Type library exporter encountered an error
while processing 'TestSink.SyncEvents, TestSink'. Error: Referenced type is
defined in managed component, which is imported from a type library that
could not be loaded (type: Interop.Exoledb.IExStoreSyncEvents; component:
c:\documents and settings\erik.burger.development\local settings\application
data\assembly\dl2\lkty5pkm.xw1\d2eneknw.09c\874c5297\3b0de10c_2344c501\interop.exoledb.dll).

I tried restarting VS.NET, and I tried manually deleting the files mentioned
to ensure there was no locking issue. No luck.

Now, I am not developing on the Exchange 2003 Server itself, so perhaps
registering for COM Interop is not necessary. If so, how can I register the
DLL on the server?

Can anyone help out here??

Thanks,
Erik
 
 
 

Managed Exchange Event Sinks: COM Registration

Post by Tom Rizzo » Fri, 06 May 2005 15:14:32

You need EXOLEDB which only exists on the Exchange Server.

Tom

--
Looking for a good book on programming Exchange, Outlook, ADSI and
SharePoint? Check out http://www.yqcomputer.com/

This posting is provided "AS IS" with no warranties, and confers no rights.