Wednesday 2 January 2013

How to configure SharePoint Solution Packages WSP (web solution package)

Following Steps:-


Step 1: Retract Solution (if solution packages is already developed in server).

stsadm -o retractsolution -name example.wsp -url http://server-name/sites/site-name -immediate

Step 2: Delete Solution (if solution packages is already developed in server).

stsadm -o deletesolution -name example.wsp

Step 3: Add the solution.

stsadm -o addsolution -filename E:example.wsp

Step 4: Deploy the solution.

stsadm -o deploysolution -name example.wsp -url http://server-name:port/sites/site-name/ -immediate -allowCasPolicies

Step 5: Go to Site Collection features and select the wep part for (Active or Deactive).

No comments:

Post a Comment