Wednesday, December 21, 2011

Failed to create receiver object from assembly sharepoint 2010 error while deploying WSP

The problem was because the timer service cached the previous dlls. You have to restart timer service on all servers in the farm before starting any new deployment.

Sharepoint 2010
--------------------------------
 net stop SPTimerV4

  net start SPTimerV4


Sharepoint 2007
----------------------------------
 net stop SPTimerV3
  
 net start SPTimerV3

2 comments:

  1. Restarting timer service did not work for me, i still received the error; but then i was able to deploy the solution using -force after the first failed attempt.. which means it must be caching somewhere.

    ReplyDelete
    Replies
    1. Timer job assemblies get cached so every time we deploy we need to change the assembly version or restart the timer service to see latest code changes.

      Delete

Seven steps to build and deploy SPFX web part to SharePoint

Install Node.JS Use this link to install Node.JS https://nodejs.org/en/ 2.        Install yeomen and gulp CMD>npm install –g y...