| Author |
Message |
Jacob M. Ross
Guest
|
Posted:
Tue Nov 08, 2005 12:48 am Post subject:
Event Sink (Async Events) |
|
|
I'm hoping someone might have some ideas for a problem I'm having with Event
Sinks.
I've written a DLL in VB6, based on the code produced by the Event Sink
Wizard from the SDK.
I opted in for the logging code as well.
I've registered the DLL as a COM+ application on the Exchange Server. I've
registered the sink using regevent.vbs as well as Exchange Explorer.
Neither seems to work. When new items are sent to my public folder, I see
no indication of the sink running. I have entries in the sink that should
end up creating new items, which aren't showing up. Additionally, none of
the logging seems to be happening. I've tried running the COM+ piece as
"Local System", and as a specific (Exchange admin level) user.
Any thoughts, ideas or suggestions?
JMR
|
|
| Back to top |
|
 |
Jacob M. Ross
Guest
|
Posted:
Tue Nov 08, 2005 1:58 am Post subject:
Re: Event Sink (Async Events) |
|
|
Well, those are some good ideas. I'll try them out later tonight, thanks
"Glen Scales [MVP]" <gscales@outlookexchange.com> wrote in message
news:uxO3ek%234FHA.724@TK2MSFTNGP14.phx.gbl...
| Quote: | Here's a few things to check
Make sure when you register the sink to set the matchscope to shallow
setting it to deep on the default public folder tree isn't supported.
Set the identity of the Event sink to a user that has rights to the folder
you are registering the sink on don't assume just because your using an
admin user that they will have rights. Check the MAPI permissions on the
folder and make sure that the user is included in the ACL with at least
editor rights.
If you are using Windows 2003 make sure that "Enforce access checks for
this application" is not ticked
When you are recompiling the DLL make sure you have binary compatibility
turned on
If you have a development environment and you have VB6 installed on the
server you can debug the sink from the console for this switch the sinks
identity to Interactive (put a few breakpoints in ) and start the
debugger.
Cheers
Glen
"Jacob M. Ross" <jacobmross@gmail.com> wrote in message
news:OqGcOv84FHA.2364@TK2MSFTNGP12.phx.gbl...
I'm hoping someone might have some ideas for a problem I'm having with
Event Sinks.
I've written a DLL in VB6, based on the code produced by the Event Sink
Wizard from the SDK.
I opted in for the logging code as well.
I've registered the DLL as a COM+ application on the Exchange Server.
I've registered the sink using regevent.vbs as well as Exchange Explorer.
Neither seems to work. When new items are sent to my public folder, I
see no indication of the sink running. I have entries in the sink that
should end up creating new items, which aren't showing up. Additionally,
none of the logging seems to be happening. I've tried running the COM+
piece as "Local System", and as a specific (Exchange admin level) user.
Any thoughts, ideas or suggestions?
JMR
|
|
|
| Back to top |
|
 |
Glen Scales [MVP]
Guest
|
Posted:
Tue Nov 08, 2005 1:58 am Post subject:
Re: Event Sink (Async Events) |
|
|
Here's a few things to check
Make sure when you register the sink to set the matchscope to shallow
setting it to deep on the default public folder tree isn't supported.
Set the identity of the Event sink to a user that has rights to the folder
you are registering the sink on don't assume just because your using an
admin user that they will have rights. Check the MAPI permissions on the
folder and make sure that the user is included in the ACL with at least
editor rights.
If you are using Windows 2003 make sure that "Enforce access checks for this
application" is not ticked
When you are recompiling the DLL make sure you have binary compatibility
turned on
If you have a development environment and you have VB6 installed on the
server you can debug the sink from the console for this switch the sinks
identity to Interactive (put a few breakpoints in ) and start the debugger.
Cheers
Glen
"Jacob M. Ross" <jacobmross@gmail.com> wrote in message
news:OqGcOv84FHA.2364@TK2MSFTNGP12.phx.gbl...
| Quote: | I'm hoping someone might have some ideas for a problem I'm having with
Event Sinks.
I've written a DLL in VB6, based on the code produced by the Event Sink
Wizard from the SDK.
I opted in for the logging code as well.
I've registered the DLL as a COM+ application on the Exchange Server.
I've registered the sink using regevent.vbs as well as Exchange Explorer.
Neither seems to work. When new items are sent to my public folder, I see
no indication of the sink running. I have entries in the sink that should
end up creating new items, which aren't showing up. Additionally, none of
the logging seems to be happening. I've tried running the COM+ piece as
"Local System", and as a specific (Exchange admin level) user.
Any thoughts, ideas or suggestions?
JMR
|
|
|
| Back to top |
|
 |
|
|
|
|