All About SharePoint

Liedong(Ken) Zheng,SharePoint Leader at SIMPLOT

Posts Tagged ‘STSADM’

STSADM Import: List does not exist. The page you selected contains a list that does not exist. It may have been deleted by another user.

Posted by ken zheng on November 14, 2011

I used export to get a backup file for a publishing site but when I run the import I got this error:

List does not exist. The page you selected contains a list that does not exist. It may have been deleted by another user.

To solve this problem, you need create the site first in the new location with the same site template. All works now.

Posted in Sharepoint | Tagged: , | Leave a Comment »

STSADM ShortCut for SP2010

Posted by ken zheng on March 21, 2011

Here is the tutorial showing how to add shortcut command. and be careful the 14 path is “C:\Program Files\Common Files\Microsoft Shared\web server extensions\14”

Posted in Sharepoint | Tagged: , | Leave a Comment »

How to fix the issue “A feature with ID … has already been installed in this farm

Posted by ken zheng on April 19, 2010

Use -force flag on your deploy operation. For example:

stsadm -o deploysolution -name MyBranding.wsp -immediate -force
stsadm -o execadmsvcjobs
stsadm -o activatefeature -name Mybranding -url http://testurl -force

Posted in Sharepoint | Tagged: , | 1 Comment »

Steps To Install WSP file in STSADM

Posted by ken zheng on December 16, 2008

1. Add the solution
stsadm -o addsolution -filename {WSPFILENAME}
2. Deploy the solution
stsadm -o deploysolution -name {WSPFILENAME} -url {SITEURL}
3. Install the feature
stsadm -o installfeature -filename {FeatureFolder}\feature.xml
4. Activate the feature
stsadm -o activatefeature -id {FEATUREID} -url {SITEURL} -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” -ur 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

Posted in Sharepoint | Tagged: | 23 Comments »

Create A Site/Web Using Template in STSADM

Posted by ken zheng on September 26, 2008

1. First create a site collection based on what ever template that you would like to start with for example the Collaboration / Team Site template. Customise the template to what you would like. For example create additional document libraries and set versioning.
2. From the site settings, Look and Feel , Save site as template. Give it a file name, template name and description. Optionally choose if you would like any content that you have added to the template to be included.
3. Once this is done it will create the template.stp in the site template gallery. Browse to this gallery and download the file. Once you have this file copy it to your sharepoint server. Also if you are going to re-use the template you might want to delete the template from the gallery and then delete it from both recycle bins in the site collection recycle bin.
4. To add the template to central administration site templates you will need to use stsadm. I recommend that you add the path to the bin directory containing stsadm.exe to the system environment variables.

C:\source\site-templates>stsadm -o addtemplate -filename “project-simple.stp” -title “Project site – simple” -description “Project site template with a simple structure”

Operation completed successfully.

IIS must be restarted before this change will take effect. To restart IIS, opena command prompt window and type iisreset.

Deleting a template from the command line. Below is a code snipet of how to list the templates installed and then how to delete the template based on its title.

C:\source\site-templates>stsadm -o enumtemplates

IT Project Site – Language: 1033 – Site Template: _GLOBAL_#0 – Template Id: 1

C:\source\site-templates>stsadm -o deletetemplate -title “IT Project Site”

Operation completed successfully.

IIS must be restarted before this change will take effect. To restart IIS, open
a command prompt window and type iisreset.

C:\source\site-templates>

Posted in Sharepoint | Tagged: , | Leave a Comment »

 
Follow

Get every new post delivered to your Inbox.

Join 28 other followers