6

Closed

Error when deploying

description

After deploying the .wsp we are getting the following error:
 
MOSSTEST : Failed to create feature receiver object from assembly "Microsoft.SharePoint.Site.RecycleBin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=98e95e81f8e48206", type "Microsoft.SharePoint.Site.RecycleBin.DeleteFeatureCallout" for feature 78b263d4-ff62-415e-b609-f01b06fa54e0: System.ArgumentNullException: Value cannot be null.
Parameter name: type
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at Microsoft.SharePoint.Administration.SPFeatureDefinition.get_ReceiverObject()
MOSSTEST : Failed to create feature receiver object from assembly "Microsoft.SharePoint.Site.RecycleBin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=98e95e81f8e48206", type "Microsoft.SharePoint.Site.RecycleBin.DeleteFeatureCallout" for feature 78b263d4-ff62-415e-b609-f01b06fa54e0: System.ArgumentNullException: Value cannot be null.
Parameter name: type
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at Microsoft.SharePoint.Administration.SPFeatureDefinition.get_ReceiverObject()
Closed Feb 3, 2011 at 5:26 PM by wbaer
This has been resolved in the latest released added 2/3/2011.

comments

wbaer wrote Aug 18, 2010 at 12:09 AM

Julie,

Which version of the SharePoint Site Recycle Bin are you using? Additionally can you provide the product build number you are deploying to?

Steveep wrote Aug 18, 2010 at 5:39 PM

I am getting a similar error when I create a new site collection.

I have installed the version for WSS 3.0 and SharePoint 2007 following the installation documentation as instructed.

In Central Administartion the feature appears to be activated.

However, when I try to create a new site collection I get the same error message as above (but with different GUID) in the browser window.

So I then went back in to central admin, retracted and then deleted the feature, and now I can create new site collections without error.

I have repeated the install twice and each time I get the above error when creating a new site collection.

I have SharePoint Server 2007 + SP2 + WSS 3.0 SP2 + Cumulative update 971538 + hotfix 936008.

Zdenkad wrote Aug 19, 2010 at 11:38 AM

Hi
I got same error.
I observed that it happend to the default MS Site collection templates e.g. Team site.
When I choose our customized Site Collection template the site is created, but after you delete the site - Nothing is stored in the backup folder you setup in the Configuration file.
I took a look to the event log and sts log, but no error trace is recorded.

We have MOSS 2007, SP2 version 12.0.0.6529 with following updates:
Project Server 2007 - KB 977028 ,Project Professional 2007 - KB 977266, Project 2007 hotfix package: October 27, 2009 KB 975923, Project Server 2007 hotfix package: October 27, 2009 KB 974990, Windows SharePoint Services 3.0 Cumulative Update Server Hotfix Package: October 27, 2009 KB 975002, SharePoint Server 2007 Cumulative Update Server Hotfix Package: October 27, 2009 KB 974988

Cheers, Zdenka

cephusj wrote Sep 4, 2010 at 8:47 PM

I got the same message. I am using the Sharepoint Recycle Bin for MOSS (2007). I dont see any build info on the download page nor in the zip file.

nichardrixon wrote Sep 6, 2010 at 1:03 PM

I get the same error. Once I've installed the .wsp (which installs fine), creating subsequent sites produces the error. I've tried de- and reinstalling to no avail.

ferringer wrote Sep 20, 2010 at 3:19 PM

Encountered the same error when attempting to globally deploy the WSS v3 version of the solution. The farm is on version 12.0.0.6529 according to the Servers in Farm page in the Central Admin site, and is WSS v3 + Search Server Express 2008.

The error message I received is identical to the one reported here, and is visible when I attempt to deploy the solution both from in the Central Admin site and through STSADM. There are no timer jobs shown related to the deployment process, and the deployment still fails after a run of STSADM's EXECADMSVCJOBS operation.

bettineski wrote Sep 23, 2010 at 6:38 PM

I'm experiencing the same issues. I did a fresh install and am recieving the error:

Failed to create feature receiver object from assembly "Microsoft.SharePoint.Site.RecycleBin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=98e95e81f8e48206", type "Microsoft.SharePoint.Site.RecycleBin.DeleteFeatureCallout" for feature 78b94e15-23ce-43f9-8036-babd847497d1: 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()

tpurifoy wrote Nov 30, 2010 at 5:00 AM

I have the same issue, but more importantly I cannot retract the Feature. When I try to retract, I get:



Failed to create feature receiver object from assembly "Microsoft.SharePoint.Site.RecycleBin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=98e95e81f8e48206", type "Microsoft.SharePoint.Site.RecycleBin.DeleteFeatureCallout" for feature 78b263d4-ff62-415e-b609-f01b06fa54e0: System.ArgumentNullException: Value cannot be null.
Parameter name: type
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at Microsoft.SharePoint.Administration.SPFeatureDefinition.get_ReceiverObject()

dnomyar1975 wrote Jan 27, 2011 at 7:45 AM

I also have deployed this Sharepoint Site Recycle Bin and getting the below error message when trying to create a new site collection and also when trying to deactivate the feature:

Calling 'FeatureActivated' method of SPFeatureReceiver for Feature 'SiteRecycleBinSiteFeature' (ID: '78b94e15-23ce-43f9-8036-babd847497d1').
Feature receiver assembly 'Microsoft.SharePoint.Site.RecycleBin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=98e95e81f8e48206', class 'Microsoft.SharePoint.Site.RecycleBin.DeleteFeatureCallout', method 'FeatureActivated' for feature '78b94e15-23ce-43f9-8036-babd847497d1' threw an exception: System.InvalidOperationException: Failed to create feature receiver object from assembly "Microsoft.SharePoint.Site.RecycleBin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=98e95e81f8e48206", type "Microsoft.SharePoint.Site.RecycleBin.DeleteFeatureCallout" for feature 78b94e15-23ce-43f9-8036-babd847497d1: 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() at Microsoft.SharePoint.Administration.SPFeatureDefinition.get_ReceiverObject() at Microsoft.SharePoint.SPFeature.DoActivationCallout(Boolean fActivate, Boolean fForce)
Feature Activation: Threw an exception, attempting to roll back. Feature 'SiteRecycleBinSiteFeature' (ID: '78b94e15-23ce-43f9-8036-babd847497d1'). Exception: System.InvalidOperationException: Failed to create feature receiver object from assembly "Microsoft.SharePoint.Site.RecycleBin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=98e95e81f8e48206", type "Microsoft.SharePoint.Site.RecycleBin.DeleteFeatureCallout" for feature 78b94e15-23ce-43f9-8036-babd847497d1: 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() at Microsoft.SharePoint.Administration.SPFeature...
...Definition.get_ReceiverObject() at Microsoft.SharePoint.SPFeature.DoActivationCallout(Boolean fActivate, Boolean fForce) at Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, Boolean fForce)
Failed to activate feature 'SiteRecycleBinSiteFeature' (Id 78b94e15-23ce-43f9-8036-babd847497d1) associated with site template 'STS#2' at scope \"http://srvhkgwss12.hk.world.socgen/sites/testsite2\". Exception: System.InvalidOperationException: Failed to create feature receiver object from assembly "Microsoft.SharePoint.Site.RecycleBin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=98e95e81f8e48206", type "Microsoft.SharePoint.Site.RecycleBin.DeleteFeatureCallout" for feature 78b94e15-23ce-43f9-8036-babd847497d1: 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() ...
... at Microsoft.SharePoint.Administration.SPFeatureDefinition.get_ReceiverObject() at Microsoft.SharePoint.SPFeature.DoActivationCallout(Boolean fActivate, Boolean fForce) at Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, Boolean fForce) at Microsoft.SharePoint.SPFeatureCollection.AddInternal(Guid featureId, SPFeaturePropertyCollection properties, Boolean force, Boolean fMarkOnly) at Microsoft.SharePoint.SPFeatureCollection.Add(Guid featureId, SPFeaturePropertyCollection properties, Boolean fForce) at Microsoft.SharePoint.SPTemplateAssociationElement.EnsureTemplateAssociatedWebFeaturesActivated(SPSite site, SPWeb web, String sTemplateName)
Failed to activate template-associated site-scoped features for template 'STS#2' in site 'http://srvhkgwss12.hk.world.socgen/sites/testsite2'.
Failed to apply template "STS#2" to web at URL "http://srvhkgwss12.hk.world.socgen/sites/testsite2".
Failed to apply template "STS#2" to web at URL "http://srvhkgwss12.hk.world.socgen/sites/testsite2", error Failed to create feature receiver object from assembly "Microsoft.SharePoint.Site.RecycleBin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=98e95e81f8e48206", type "Microsoft.SharePoint.Site.RecycleBin.DeleteFeatureCallout" for feature 78b94e15-23ce-43f9-8036-babd847497d1: 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() 0x8107058a
Videntityinfo::isFreshToken reported failure.

I'm using WSS 3.0 (v12.0.6425.1000) running on Win2k3 SE with SP2. I just recently downloaded the SharePoint Site Recycle Bin.

wbaer wrote Feb 3, 2011 at 5:26 PM

This has been resolved in the latest released added 2/3/2011.