Is the event type correct?
Also, can you add debugging components to the start of the event function - to 
see if it even gets hit or not?

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Trevor Andrew
Sent: Friday, 5 December 2008 2:04 PM
To: [email protected]
Subject: RE: EmailReceived Event Handler not firing in deployed environment

Hi Ishai,

Thanks for the suggestion. I've checked with the spstipsutilitypack, and here's 
what I see ...

[cid:[email protected]]

I assume the fact that it is displaying the Event Handler in the list means it 
is correctly registered, and that the class can be instantiated? And this 
information looks identical to our Dev environment, beyond the expected 
difference in the Event ID.

Additionally, we know that two other classes within the same assembly are 
firing on ItemUpdated and ItemAdded and are executing correctly ....

Cheers,
Trevor

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Ishai Sagi
Sent: Friday, 5 December 2008 1:17 PM
To: [email protected]
Subject: RE: EmailReceived Event Handler not firing in deployed environment

Can you troubleshoot? Find out if the event handler is properly registered?
Also, I have seem with so many event handlers where there would be a call to 
some other assembly, or reference a resource that existed on the dev 
environment, and if that reference is missing in prod, the event handler will 
crash without a message.

To find out if it is registered correctly, you can use my utility pack: 
www.codeplex.com/spstipsutilitypack<http://www.codeplex.com/spstipsutilitypack>


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Trevor Andrew
Sent: Friday, 5 December 2008 12:49 PM
To: [email protected]
Subject: RE: EmailReceived Event Handler not firing in deployed environment

Hi All,

We have an Email Received Event Handler that has been working flawlessly in our 
development environment, but when we deploy to a customer site, fails to fire. 
When the document library receiving the emails is email enabled, but has no 
event handler associated, the email and attachments get dropped in the library 
as you'd expect.

But the moment we register out Email Received Event Handler, nothing happens. 
We can see no diagnostic logging occurring, it's as if the Event Handler simply 
isn't being fired. From what I can see, there's nothing in the 12 logs, nor the 
Windows Event logs.

Any suggestions of how to diagnose the problem would be most appreciated.

Cheers,
Trevor Andrew

________________________________
List address: [email protected]
Subscribe: [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists
________________________________
List address: [email protected]
Subscribe: [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists
________________________________
List address: [email protected]
Subscribe: [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists
--------------------------------------------------------------------------------
List address: [email protected]
Subscribe: [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

<<inline: image001.png>>

Reply via email to