1
Vote

Alerts Subscriptions Fail After Deployment

description

I installed/deployed this solution into 2 separate farms and the solution itself worked wonderfully.

However, the deployment of the solution caused all subscribed alerts under the web application to fail with the following errors for each subscription that was attempted to be sent out:

___NullReferenceException while calling alert handler for subscription 6c15b6dc-0fc7-4c14-9df9-ec0d6eb5cba8. Alert handler assembly: SPGuysCustomFieldPermissionLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=a8a8bdc8ce8bd55f. Alert handler class: SPGuysCustomFieldPermissionLibrary.CustomAlertModule. Exception message: Object reference not set to an instance of an object.

An SPRequest object was reclaimed by the garbage collector instead of being explicitly freed. To avoid wasting system resources, dispose of this object or its parent (such as an SPSite or SPWeb) as soon as you are done using it. Allocation Id: {5C94623B-7EA4-4E08-B28D-EA3FAFFB0708} To determine where this object was allocated, set Microsoft.SharePoint.Administration.SPWebService.ContentService.CollectSPRequestAllocationCallStacks = true.___

I had to remove the solution via PowerShell in order for alert subscriptions to be successfully sent.

This solution is pretty awesome, but obviously I can't use it if our users' subscribed alerts are not functioning.

comments