Error when attempting to delete a site in SharePoint

Search and filter

KB Article ID: 10527

Product: Administrator
Product Version: 6.0.0.0
SharePoint Version: 2010,2010 SP1

Details:

​When attempting to delete a site within SharePoint, the following error message appears:

Error loading and running event receiver DocAveSiteRecycleBin.DeleteSiteEvent in DocAveSiteRecycleBin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=729db82b9bf251ee. Additional information is below. Unable to load assembly group. The user assembly group provider was unable to provide any user assemblies for the specified assembly group.

Cause:

Data from SharePoint 2007 was not cleared when upgrading to SharePoing 2010.

 

Solution:

The data will need to be cleared using a powershell script. (screenshot Attached and script attached)

 

        1.       Open SharePoint 2010 Management Shell

        2.       Direct to the folder location of the script,  for example, the path “C:\AvePoint”, type cd C:\AvePoint.

        3.       Execute the script. Type .\DeleteSiteBinEventHandler.ps1 then press enter.

        4.       Enter the URL of the web application.