KaiserSose
asked on
C# Exchange Event Sink ISmtpInCommandSink
Hi again. I am trying to make a CatchAll event sink for the SMTP ISmtpInCommandSink interface based on the instructions here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsmtps/html/writingmngsinks.asp
One problem is that Microsoft.Exchange.Transpo rt.EventWr appers.dll isn't strongly named so my project won't compile. I created a class library and set up the strong naming myself and then used my output as a reference in the main project and that let everything compile ok.
Now nothing works when I try to register the COM+ application. First I got the error that the class wasn't derived from ServicedComponent, no problem right. Now I'm getting this error:
TlbExp warning: Referenced type is defined in managed component, which is imported from a type library that could not be loaded because it was not registered (type: Microsoft.Exchange.Transpo rt.EventIn terop.ISmt pInCommand Sink; component: c:\exchangesinks\catcharch ive\micros oft.exchan ge.transpo rt.eventin terop.dll) .
I used regasm.exe on all of the necessary dll's and still nothing.
What am I missing?
I may even be open to paying for some consulting work at this point.
Thanks Dave
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsmtps/html/writingmngsinks.asp
One problem is that Microsoft.Exchange.Transpo
Now nothing works when I try to register the COM+ application. First I got the error that the class wasn't derived from ServicedComponent, no problem right. Now I'm getting this error:
TlbExp warning: Referenced type is defined in managed component, which is imported from a type library that could not be loaded because it was not registered (type: Microsoft.Exchange.Transpo
I used regasm.exe on all of the necessary dll's and still nothing.
What am I missing?
I may even be open to paying for some consulting work at this point.
Thanks Dave
try to run tlbexp from visual studio command prompt and make sure that all reference assembly in the same folder.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.