STSADM is a command-line utility for configuring SharePoint

learn more… | top users | synonyms

0
votes
1answer
2k views

attach content db to SharePoint Server 2010

I need to migrate the WSS3.0 SP2 + Project Server 2007 SP2 based farm to a SPS2010 SP1 + Project Server 2010 Sp1 farm. I create a new farm (new VM on hyperV 2012) SPS2010 based (build 14.0.6028.1000) ...
4
votes
1answer
825 views

Enumerate every solution for each WebApplication

I'm performing an inventory and I need to get list of sharepoint solutions (*.wsp) deployed to every individual web-application and ideally, it would also be great to list what Application pool on ...
3
votes
1answer
756 views

Import-Spweb is changing the user id if the user does not exist in the organisation anymore

We had to restore a list (which has versionsing enabled) in our PROD enviornment SP 2010 August CU 2012. We used the following command metioned below: Import-SPWeb http://example.com/projects/myList -...
2
votes
2answers
663 views

Move publishing site between subsites using Manage Content and Structure

I'm trying to move publishing pages in a Publishing sites to another site in the same site collection. The operation are always failed`[ListItem] [...
0
votes
1answer
823 views

Recursive Enumeration of Sites, Subsites, and Application Templates Used

I am migrating my WSS 3.0 installation over to 2010 and then eventually to 2013 and am in need of a stsadm command that will show me a list of sites in the site collection, a list of subsites within ...
0
votes
2answers
505 views

Fix for stsadm export: An item with the same key has already been added

Current Issue: When performing an export on a web I get the following error: STSADM.EXE : An item with the same key has already been added. I have tried checking in and checking out the file. ...
1
vote
1answer
104 views

Rename SharePoint 2010 Web Server [duplicate]

Can someone help me by providing the correct set of steps to rename a SharePoint 2010 Web server machine name? It's a two-server farm. Are there know issues associated with this? I've researched this ...
2
votes
1answer
948 views

Trouble promoting subsite or moving it to a different site collection

My company is just starting to use sharepoint for some of our contractors. And I am now tasked with the administration. (yay) Development was done on a standalone server and they were planning on ...
5
votes
2answers
422 views

Why we need to do IIS Reset after adding a template

I added a template using, STSADM -o addtemplate -filename "C:\Stalker\BaleeeBaleee.stp" -title "YouBreakLive" I can see it in Central Administration in "Custom" site templates when I try to create ...
2
votes
2answers
257 views

2 SiteCollections in same web app - what is special about the root site collection?

So, I have these 2 site collections within a single web app at port 83: Main Site Collection: / Nested Site Collection: /sites/custom/ Again, these are 2 separate isolation boundaries.. each is ...
0
votes
1answer
224 views

STSADM or C# script to delete all custom site templates

I want to delete Custom site templates off my farm and wondering if someone know any script I can use. Not a big fan of Powershell at the moment as I am using SharePoint 2007.
0
votes
0answers
113 views

Deployed solution using stsadm commands..But it is not working

I have a differnt issue, that i was deployed the solution using stsadm commands. feature is showing site collection solutions and it is activated. But the functionality for the solution is not working....
0
votes
2answers
98 views

STSADM Denied File Access for Solution Retraction

I'm trying to retract an existing solution for my web app on MOSS 2007. I'm failing the retraction because on the solution properties page on Central Admin 3.0 while the stsadm react job is running ...
0
votes
1answer
498 views

Toggle Developer Dashboard not working

I just ran the following as administrator stsadm -o setproperty -pn developer-dashboard -pv ondemand The operation completed successfully. I see the icon to the right of my name and attempt to ...
4
votes
1answer
852 views

Can't restore backup of content database using stsadm after migration to SQL 2008 R2

WSS 3.0 on Server 2003 within a Domain. I set the server up 3.5 years ago along with a test setup. It's the first and only SharePoint install. I recently had to migrate the content database from ...
0
votes
1answer
107 views

Enable version checking in MOSS

I had a huge farm environment in SPS 2003 recently i migrated my older environment 2003 that was externally hard coded by the designers(Template was different as compare to default template in SPS ...
0
votes
1answer
121 views

stsadm -o export with MUI

I have a SharePoint 2010 site that I need to export and import on another Web App. That website has been customized and uses the built in MUI (Multilingual User Interface). For example : First, I ...
2
votes
1answer
5k views

WSS content database restoration problem

A while back, I routinely applied a bunch of updates to our Sharepoint server (SBS 2003 / WSS 3). One of these seems to have put the sharepoint installation into a bad state - I could still access ...
0
votes
1answer
335 views

How to Integrate STSADM command within Windows Form App

I am developing a Windows Form Application which will have one option as "Export a Site" and another to "Import a Site" I want it to be done using following STSADM commands but not sure what I need to ...
2
votes
1answer
383 views

cant find webapplication scoped feature anywhere

I developed a Custom Timer Job Feature using WSP Builder but for some reason I am not able to find it so that I can activate it. I know I can activate it using stsadm but why cant I find it in Site ...
0
votes
0answers
479 views

Deploy solution using powershell

I have a solution with 4 projects to automatically some processes in Sharepoint.these projects are: WebPartProject: Create a custom webpart CreateTemplate: Create 2 documents libraries (with columns)...
0
votes
1answer
433 views

importing a site to a new site collection error

I tried using STSADM to export / import a site definition, it exported properly, but when i tried to import it, it gave me fatal error that couldn't find a webtemplate #id** with LCID 1033, both ...
1
vote
1answer
288 views

Clone User Permissions for Another User

I have a user that has access highly sensitive information. He is giving a meeting and we want him to use an account that has the exact same permissions as another user. I seem to remember there was a ...
1
vote
1answer
3k views

After site collection restore, site cannot be crawled?

We have a SharePoint 2007 site collection that some permissions were accidentally deleted from. It was impossible to determine how it was originally setup, so we decided to do an STSADM restore from ...
1
vote
2answers
723 views

Schema.XML not found in 12/Template/Features/myfeature

I am trying to create a custom list feature, what I did is created feature and then i build a solution out of it using this tutorial Creating a Solution file for Feature when it creates a .wsp file ...
0
votes
2answers
635 views

SharePoint 2007 - Cannot Find Web Part Page

Situation: Using stsadm -o enumallwebs -includewebparts returns a list of webparts. One of which I want to remove across the entire site. Issue: Using the GUID I can find the webpart Page ID, and ...
0
votes
3answers
1k views

Physical to Virtual Migration of SharePoint Machine

We are about to conduct a full virtual migration. Among the physical machines to be migrated is our SharePoint server, which hosts two SP sites. I know very little about SharePoint and I've only ...
1
vote
1answer
496 views

Error Deploying Solution - returns The feature path 'myfeaturename' must be of the form 'directory/feature.xml'

Let me start out by saying I'm sure WSP builder or STSdev is the way to go, but I can't use those where I work, so I'm having to do this all manually. So here's where I am. I have created a simple ...
2
votes
2answers
4k views

Can I export a list from SharePoint 2007 and then import to SharePoint 2010?

I have a user that has requested we copy her Shared Documents library from SharePoint 2007 team site to an existing SharePoint 2010 team site. Can this be accomplished with OOB STSADM export/import ...
1
vote
1answer
225 views

FAB 40 Install issues

I am trying to install one of the FAB 40 templates for MOSS and I am having some trouble with it. I have run my script to install which is: stsadm -o addsolution -filename ApplicationTemplateCore....
1
vote
0answers
116 views

Urls got buggered after content db migration

This is a very well known problem and various fixes are starting to fail for my client... Scenario. We took a database back-up from staging (after backing up LIVE first) to do a new re-skin of their ...
0
votes
1answer
931 views

STSADM: Scripting activaton/deactivation of web app level features

I am writing a script to activate/deactivate certain features and there are a couple web application scoped features and when i test the commands, the feature status doesnt change. Im using: stsadm -...
1
vote
4answers
4k views

Site scope feature will not deactivate

I have a site collection scoped feature that deployed a web part in my site collection, and I am trying to remove them. If I run "stsadm -o enumallwebs -includefeatures" I see that the feature is ...
1
vote
1answer
91 views

Can not turn of notifications (SP 2010)

I'm about to update 300 items in a list that I know lots of users are subscribing to (notification by email on every item update event). I've tried turn this off by using STSADM: stsadm -o ...
1
vote
1answer
255 views

SharePoint 2007: Site collection deletes itself during restore

I am trying to restore some content databases, and during the restore a sitecollection deletes itself. I am running the stsadm restore command, and i get the message "No content databases are ...
2
votes
3answers
5k views

Content Database showing 0 (zero) site collection after content database attach

I have two server farms, Server farm 1 and Server farm 2. Server farm 2 runs SharePoint 2010 Enterprise with SQL Server 2008 R2 Enterprise and Server 1 runs SharePoint 2010 Enterprise with SQL Server ...
1
vote
2answers
2k views

STSADM: enumallwebs -includefeatures question

I cant seem to find any documentation on what the -includefeatures parameter does. Obviously it returns features in the output of the stsadm command, but is it deployed or activated features?
2
votes
1answer
2k views

STSADM.exe, PowerShell v2.0 and Management Shell

What is the difference between the three? STSADM.exe PowerShell v2.0 Management Shell I understand you can run powershell scripts in the management shell, but I thought I remember reading that ...
4
votes
3answers
1k views

call stsadm.exe programmatically (using System.Diagnostics.Process) doesn't seems to work

The title pretty much says it. My target is to deploy a custom alerttemplates.xml to my SharePoint 2010 solution programmatically. Which would decrease the steps for an installation of the solution, ...
0
votes
2answers
86 views

Export of site fails in every attempt

I am trying to export one of my sites, but whatever I do it keeps giving me the error: The file or directory is corrupted and unreadable. stsadm -o export -url http://server/site/ -filena me D:\test\...
2
votes
3answers
3k views

Stsadm - Avoid subsites while exporting a site

I am exporting a site using stsadm command. It is automatically exporting the subsites too. I need to take the current site only, how can I restrict the subsites being exported? For example I'm ...
1
vote
1answer
554 views

stsadm deploy fails

I am trying to deploy a SharePoint 2010 feature using the following commands: stsadm -o addsolution -filename %featureWSPFile% stsadm -o deploysolution -name %featureWSPFile% -url http://...
2
votes
3answers
2k views

Sync between the Content DB and Profile DB is not happening?

Sync between the Content DB and Profile DB is not happening since a week, even the command "stsadm -o sync -DeleteOldDatabases 0" is failed to respond. is there any other specific command can be used ...
1
vote
3answers
2k views

SharePoint restore fails because of newer version

I have installed SharePoint 2010 SP1 on my local developer machine. I wanted to copy a site collection from one of our productive servers (which hasn't SP1 yet but the December 2010 Cumulative Update)...
0
votes
1answer
902 views

Export all subsites

I am looking for a quick way to export all sub-sites from a web application and exclude the root url, is there a quick way to accomplish this?
2
votes
3answers
7k views

Move Config DB to new SQL server

Our SQLserver db containing the SharePoint config db went down, hardware failure, the content is on a different server, managed to get the config db from backup, i ran stsadm -o delete configdb, but ...
1
vote
2answers
386 views

Stsadm restore issue

I try to restore Sharepoint 2007 site using STSAdm but the previous operation failed , I checked the event viewer and found the following information : Faulting application mssdmn.exe, version 12.0....
0
votes
2answers
159 views

renaming a sub-web from sbr1 to sbr33

Should I be able to get this work with sp 2010 because I am receiving "Command line error." Stsadm –o renameweb –url http://wfe2011redmond/tech/region/cProjects/sbr1/ -newname “sbr33”
0
votes
3answers
971 views

Error when using stsadm.exe to deploy webpart

I am trying to deploy a webpart to our live SharePoint instance. STSADM.EXE -o AddSolution -filename webpart.wsp I then get the following error: Object reference not set to an instance of an ...
2
votes
3answers
5k views

stsadm to enumerate all Web Applicstions

Is there an stsadm command that will enumerate / list all web applications? This would be the similar to SPWebService.AdministrationService.WebApplications. What I'm looking for is an stsadm command ...