powershell - Activate-Feature : Error activating feature <featurename> at siteURl>The located assembly's manifest definition does not match the assembly reference -


error: activate-feature : error activating feature …<featurename>……… @ …<siteurl>……..the located assembly's manifest definition not match assembly reference. (exception hresult: 0x80131040) 

issue has caused when using powershell script retract , deploy wsp solution, wsp deploys somehow failed activate feature event receiver starting services below:

stop-service -name “spadminv4” start-spadminjob start-service -name spadminv4 waitforsolutiondeploymentjobtofinish $name 

note: have not found issue when fresh deployment instead retraction/deployment.
works file when retract solution in separate script , deployment new powershell instance

i have found following references while investigating: http://sisharepoint.wordpress.com/2010/03/26/getting-around-gac-problems-when-you-deploy-sharepoint-solutions-with-powershell/ http://blogs.msdn.com/b/briangre/archive/2011/02/17/sharepoint-2010-visual-studio-solution-deploy-deployment.aspx

please guide me resolve issue

i have come few times. unfortunately have not time dive further application pool recycle seems fix issue me.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -