23 Ekim 2013 Çarşamba

SharePoint Webpart Forced Installation (Update)


  1. Remove Webpart from SP..  EnterCentral Administration(as admin)=>System Settings=>Farm Management=>Manage Farm Solutions=>Enter your Webpart"exaple.wsp"=>Retract Solution"=>Select from="All content Web applications"=>Click Ok

  2. Wait until retracting your solution and enter again your solution and Click "remove solution"

  3. Publish your solution in VS 2012 or 2010 to ex:"C:\Users\john\Documents"

  4. After removed your solution Open as Administrator "Sharepoint Management Shell"

  5. First you must add solution to SP server write this code to power shell

  6. Add-SPSolution -Literal "C:\Users\john\Documents\sptest1.wsp"
  7. Now forced install and publish it in to SP
  • Install-SPSolution -Identity  "sptest1.wsp" -WebApplication "http://yoursharepointsite.com" -GACDEployment -Force 
              Or 
  •  Install-SPSolution -Identity "sptest1.wsp" -GACDEployment -Force

FORCE BE WITH YOU...