Showing posts with label FEATURE. Show all posts
Showing posts with label FEATURE. Show all posts

Monday, December 14, 2009

Feature Installation Error - STSADM: The farm is unavailable

We have created a new feature and try to install in the sharepoint server using stsadm command, it throws an error called STSADM: The farm is unavailable Error.

The solution for this error is that the installing user does not having rights in SQL server.ie.the Principal running the command does not have access to the SQL Server for the current farm.

Monday, November 30, 2009

WSP Installation and Feature Activation & DeActivation Steps in MOSS 2007

1. Add the solutionstsadm -o addsolution -filename
2. Deploy the solutionstsadm -o deploysolution -name -url
3. Install the featurestsadm -o installfeature -filename \feature.xml
4. Activate the featurestsadm -o activatefeature -id -url -force
5. Deactive the featureStsadm.exe -o deactivatefeature -filename “C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\ViewFormPagesLockDown\feature.xml” -ur http://servername/6.Uninstall the featurestsadm -o uninstallfeature -filename
7.Retract Solutionstsadm -o retractsolution -name [-url] [-allcontenturls] [-time] [-immediate]
8.Delete Solutionstsadm -o deletesolution -name

Reference

Monday, November 23, 2009

WSP Installation and Feature Activation & DeActivation Steps in MOSS 2007

1. Add the solution
stsadm -o addsolution -filename
2. Deploy the solution
stsadm -o deploysolution -name -url
3. Install the feature
stsadm -o installfeature -filename \feature.xml
4. Activate the feature
stsadm -o activatefeature -id -url -force
5. Deactive the feature
Stsadm.exe -o deactivatefeature -filename “C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\ViewFormPagesLockDown\feature.xml” -url http://servername/
6.Uninstall the feature
stsadm -o uninstallfeature -filename
7.Retract Solution
stsadm -o retractsolution -name [-url] [-allcontenturls] [-time] [-immediate]

8.Delete Solution
stsadm -o deletesolution -name

Reference