jcroexbd
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=b4f0af5467e 0d3fb", type "TEST_siteMasterPage.TESTM asterPageF eatureRece iver" for feature bad759f6-0735-418f-a68a-13 4655d06639 : System.ArgumentNullExcepti on: Value cannot be null.
Parameter name: type
at System.Activator.CreateIns tance(Type type, Boolean nonPublic)
at Microsoft.SharePoint.Admin istration. SPFeatureD efinition. get_Receiv erObject()
SPSERV : Failed to create feature receiver object from assembly "TEST_siteMasterPage, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b4f0af5467e 0d3fb", type "TEST_siteMasterPage.TESTM asterPageF eatureRece iver" for feature bad759f6-0735-418f-a68a-13 4655d06639 : System.ArgumentNullExcepti on: Value cannot be null.
Parameter name: type
at System.Activator.CreateIns tance(Type type, Boolean nonPublic)
at Microsoft.SharePoint.Admin istration. SPFeatureD efinition. get_Receiv erObject()
Thank you!
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=b4f0af5467e
Parameter name: type
at System.Activator.CreateIns
at Microsoft.SharePoint.Admin
SPSERV : Failed to create feature receiver object from assembly "TEST_siteMasterPage, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b4f0af5467e
Parameter name: type
at System.Activator.CreateIns
at Microsoft.SharePoint.Admin
Thank you!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.