The error details is as shown below:
Failed to create feature receiver object from assembly "Org.Project.Solution, Version=1.0.0.0, Culture=neutral, PublicKeyToken=12gav43334vw3445", type "Org.Project.Solution.MyFeature.FeatureReceiver" for feature 6a9b2358-ea4e-486d-a4e4-4f813c52ce88: System.ArgumentNullException: Value cannot be null.
Parameter name: type
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at Microsoft.SharePoint.Administration.SPFeatureDefinition.get_ReceiverObject()
It took me some time to figure it out the exact error, so thought of writing a post so that it would help you to fix the issue soon. In my feature.xml file for the timer job feature the Receiver Class was specified wrong, so next time guys when you get this error please verify your Receiver Assembly (it will be having the assembly name) And Receiver Class (it will be having feature installer class) correctly.
No comments:
Post a Comment