Squadron Exception >> Unable to find SPDeletedSite…

While using Squadron you might have faced with following Exception:

image

The exception states unable to load type ‘Microsoft.SharePoint.Administration.SPDeletedSite’ from assembly ‘Microsoft.SharePoint, Version 14.0.0.0’ with Public Key Token

Description of Problem

The stated assembly should be registered in GAC (Global Assembly Cache) for working with Squadron.

Solution

As Squadron is built based on Server Object Model, it is expected to be executed in the SharePoint Server machine.

Following are the solutions recommended:

  1. Execute Squadron from a machine with the above Assemblies installed in GAC
  2. Install above Assemblies to GAC  (http://msdn.microsoft.com/en-us/library/dkkx7f79.aspx)

On Success

After solving the problem, you can execute Squadron again.  If the problem is resolved, you can see the Squadron Main Screen without any errors.

image

Leave a Reply

Your email address will not be published. Required fields are marked *