Friday, September 17, 2010

Deploy WSP file in SharePoint 2010


  1. Place your .WSP file to the location or any other location
  2. c:\wsp\”your WSP files”
  3. Go to Run command- and set the below path.
  4. C :> CD C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN
  5.  This is place u have to ass your solutions file.
  6. Now the prompt look like this
  7. C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN>
  8. Run the below command: It adds the solution to SharePoint Farm Solution.
  9. C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN>stsadm -o addsolution -filename c:\wsp\SmartTools.Charts.wsp
  10. Operation completed successfully.
  11. If u wants to deploy the solution through Command use this command.
  12. stsadm -o deploysolution -name Mysolution.wsp -local -allowGacDeployment -force -url http://Server:3333/
  13. Go to top level site->Site Action –Site Setting-site collection administrator activate the feature over there and add your web part in page

No comments:

Post a Comment