Posts tagged ‘featurereceiver’

September 27, 2010

Failed to create receiver object SharePoint exception

When developing with SharePoint 2010, I had a working project with multiple features, one of which had an Feature Receiver added, working absolutely fine. However, on adding an Feature Receiver to a second feature in the same project, I encountered the following error:

Failed to create receiver object from assembly "AssemblySignature", class "EventReceiverClassName"
System.ArgumentNullException: Value cannot be null. Parameter name: type

After first checking that the Receiver name was correctly defined in Visual Studio the solution ended up being far more simple than I could have anticipated – by simplying manually retracting and removing the offending wsp from the farm solution store, and then redeploying, the problem went away.