Sunday, 19 July 2015

SharePoint: How to Upgrade a Solution

Command to upgrade solution:

stsadm -o upgradesolution -name Knowledge.SharePoint.wsp -filename Knowledge.SharePoint.wsp -immediate -allowgacdeployment

If you are not able to successfully upgrade the solution and you get this error message:
Knowledge.SharePoint does not exist in the solution store, try the steps below.
 
 
How to Add to the solution store:
stsadm -o addsolution -filename Knowledge.SharePoint.wsp
 
To deploy the solution:
stsadm -o deploysolution -name Knowledge.SharePoint.wsp -url http://hostname:port -local -allowgacdeployment
 
To upgrade the solution:
stsadm -o upgradesolution -name Knowledge.SharePoint.wsp -filename Knowledge.SharePoint.wsp -immediate -allowgacdeployment

stsadm -o execadmsvcjobs

Verify C:\Windows\Assembly if the DLL has been upadated accordingly.

No comments:

Post a Comment