I have a C# event receiver that utilizes the ItemUpdating event. The project was originally created as a Sandboxed solution and worked fine, however, due to limitations I've decided to switch over to a farm solution. When doing this, I found out that I had to set the scope as Site or Web (as Farm and WebApp caused the packaging process to bomb out). This is fine, but when I deploy as a Site scope and activate the solution at a site collection, the event handler is not firing like it was when it was sandboxed.
Couple questions:
- can event handlers be deployed as farm solutions at the Site scope?
- how can I test to see if the event handler is being hit at all? I have a multi-server farm, so I am using PS to deploy the solution in the first place, so debugging doesn't appear to be an option
Operation is not valid due to the current state of the object.
This is different than the first issue. Before, I could activate the feature just fine, but the code was not firing. Now, I cannot activate the feature.
Thoughts?
– Josh Sep 24 '12 at 23:49