Link to home
Start Free TrialLog in
Avatar of jcroexbd
jcroexbdFlag for United States of America

asked on

Custom Feature Deployment fails to create feature receiver object from assembly

Hello,

We're attempting to deploy a custom feature using STSADM on a SharePoint 2007 SP2 environment. When run from Visual Studio, and deployed using the WSP builder, the feature deploys as expected. However, when attempted using STSADM on another development machine, we get the error below.

It seems there is something missing from the code that STSADM doesn't know, that's inherent in VS. Would anyone know what that is?

The installation of features failed during deployment of the solution.
Last Operation Details: SPSERV : Failed to create feature receiver object from assembly "TEST_siteMasterPage, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b4f0af5467e0d3fb", type "TEST_siteMasterPage.TESTMasterPageFeatureReceiver" for feature bad759f6-0735-418f-a68a-134655d06639: System.ArgumentNullException: Value cannot be null.
Parameter name: type
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at Microsoft.SharePoint.Administration.SPFeatureDefinition.get_ReceiverObject()
SPSERV : Failed to create feature receiver object from assembly "TEST_siteMasterPage, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b4f0af5467e0d3fb", type "TEST_siteMasterPage.TESTMasterPageFeatureReceiver" for feature bad759f6-0735-418f-a68a-134655d06639: System.ArgumentNullException: Value cannot be null.
Parameter name: type
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at Microsoft.SharePoint.Administration.SPFeatureDefinition.get_ReceiverObject()

Thank you!
ASKER CERTIFIED SOLUTION
Avatar of jcroexbd
jcroexbd
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial