Error during deployment of WSP

I was trying to redeploy the HighlightMOSS wsp on our farm which has one search server and two web front ends.

It deployed successfully on the WFE2 but failed on WFE1 as below.

The installation of features failed during deployment of the solution.
WEB2 : <weburl> : The solution was successfully deployed.
WEB1 : Failed to create feature receiver object from assembly “HighLight, Version=1.0.0.0, Culture=neutral, PublicKeyToken=a020282aed59311d”, type “HighLight.BlogProvisioning” for feature 5daabc0d-5714-4b95-9238-95d58704bc11: System.ArgumentNullException: Value cannot be null.
Parameter name: type
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at Microsoft.SharePoint.Administration.SPFeatureDefinition.get_ReceiverObject()
WEB1 : Failed to create feature receiver object from assembly “HighLight, Version=1.0.0.0, Culture=neutral, PublicKeyToken=a020282aed59311d”, type “HighLight.BlogProvisioning” for feature 5daabc0d-5714-4b95-9238-95d58704bc11: System.ArgumentNullException: Value cannot be null.
Parameter name: type
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at Microsoft.SharePoint.Administration.SPFeatureDefinition.get_ReceiverObject()

Solution: It was because the old dll was removed and the new dll was installed. But the cache was referring to the old dll which did not have the new functionality. So had to restart the Windows SharePoint Services Timer on WFE1 to make it to work.

It was deployed in WFE2 because I had previously restarted the service for another reason.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: