even sink problems and questions
I'm having a difficult time getting event sinks to work.
I have tried 3 application scenarios:
2 - I wrote a dll COM component in COM-native vb6.
3 - I have also downloaded some source code that is advertised as
"working" that was written in C# on framework 1.1. Here is a link to
that code:
http://www.codeproject.com/csharp/CsManagedEventSinksHooks.asp
each of the above 3 applications fail with the same error when I try to
add my event sink.
I have searched high and low on newsgroups finding a lot of information
about the errors I am getting, but not finding a resolution that fixes
my problem. Here are the errors I get:
when I try to register the event sink using regevent.vbs I get:
Error Commiting Transaction : -2141913011 Event Registration failure:
The specif
ied event sink (ProgID: %1) is not allowed to run in-proc
Here is the command I am executing that causes that error.
cscript regevent.vbs add "onsave;ondelete" InformXY.ExchEventSink
"file://./backofficestorage/intranet.test/Public
Folders/sinktest/EventNotification.eml"
when I try to register the event sink using Exchange Explorer I get:
An error has occurrred creating the registration item. Event sinks must
be registered as a COM+ Application prior to creating the registration
event item or there maybe issues connecting to the network or the
server. Also check the data for accuracy.
Here is what I have tried:
made sure the COM+ component is setup as a server application
made sure the COM+ component is started
tried registering the .NET component with regasm and regsvcs
tried changing the GUID associated with the .NET assembly
again, all 3 exchange sink projects I mention in the first paragraph
fail with the same error.
I am running this exchange server on a virtual machine and it resides
on the same machine as the domain controller.
am I doing something wrong here? Is there something else someone can
recommend I try?
|