Posts tagged "staadm.exe"

STSADM commands

stsadm -o addsolution -filename soluntionname.wsp   stsadm -o deploysolution -name soluntionname.wsp -allowgacdeployment -immediate

or

stsadm -o deploysolution -name soluntionname.wsp -allcontenturls -allowgacdeployment -immediate

or

stsadm -o deploysolution -name soluntionname.wsp -allcontenturls -allowgacdeployment -immediate -force

Be the first to comment - What do you think?
Posted by Tosh - March 14, 2012 at 3:20 pm

Categories: Administration, MOSS 2007, SharePoint 2010   Tags: , , ,

Installing Template using STSADM command

Sharepoint Admin can goto command line and run stsadm.exe or you can find this utility under

C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\Bin

Goto the command prompt and got the above location

run STSADM.EXE -o installfeature -filename YourFeatureFolder\feature.xml
Make sure that the feature is not already installed. If it is than deactivate it and uninstall it.

make sure that your assembly is signed and also installed into GAC. When installing assemblies into GAC it would be great to  restart IIS.

Be the first to comment - What do you think?
Posted by Tosh - April 14, 2010 at 4:37 pm

Categories: Administration   Tags: ,