Event Sink (Async Events)
Exchange Server Forum Index Exchange Server
Discussion forums for Microsoft Exchange Server users.
Microsoft Outlook
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web ExchangeServerHelp.com
Event Sink (Async Events)

 
Post new topic   Reply to topic    Exchange Server Forum Index -> Development
Author Message
Jacob M. Ross
Guest





Posted: Tue Nov 08, 2005 12:48 am    Post subject: Event Sink (Async Events) Reply with 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
Jacob M. Ross
Guest





Posted: Tue Nov 08, 2005 1:58 am    Post subject: Re: Event Sink (Async Events) Reply with quote

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) Reply with 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...
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
 
Post new topic   Reply to topic    Exchange Server Forum Index -> Development All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server Dedicated Servers
Contact Us
New Topics Powered by phpBB