STSADM is a command-line utility for configuring SharePoint

learn more… | top users | synonyms

5
votes
2answers
134 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 ...
4
votes
3answers
742 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, ...
4
votes
1answer
78 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
2answers
521 views

Deploying .dlls to the web application bin folder using .wsp fails with feature recevier

When deploying .dlls to the bin directory using a .wsp my feature receivers seem to blow at the deploysolution stage as they cannot find the related code for my feature receivers. How can I handle ...
3
votes
2answers
652 views

stsadm.exe crashes on all commands

All of a sudden, stsadm has stopped working, crashing on all commands it is run with (even -help!) e.g. > stsadm.exe -help Unhandled Exception: System.ArgumentNullException: Value cannot be null. ...
3
votes
1answer
367 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 ...
2
votes
1answer
793 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 ...
2
votes
1answer
234 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 ...
2
votes
1answer
181 views

Site collection Disaster Recovery?

One of the Site collection Administrators has deleted the Site Collection mistakenly, so we want to restore it back. What would the best approach ? Some of the SQL stuff: SQL Full backup -> Every ...
2
votes
2answers
4k views

List all deployed solution with stsadm?

I managed to deploy several solution with conflicting features while developing. Now I can't access the admin central, is there a way to see all deployed solutions through stsadm?
2
votes
1answer
545 views

Using wspbuilder to create a custom STSADM command

I'm using wspbuilder to create a .wsp package that will deploy a custom stsadm command. I need the .wsp to include an .xml command file: <commands> <command name="mycustomcommand"....../> ...
2
votes
1answer
171 views

Is stsadm output guaranteed to be XML?

I have a tool that programmatically invokes stsadm.exe and parses the results. The output looks like XML, so I've been using an XML parser to read it. One of my customers ran my tool on a French ...
2
votes
4answers
232 views

Administering SharePoint with PowerShell

I have a limited knowledge on Powershell, but from what I've seen, it can be very useful in admin/dev tasks. What would I have to develop to get a nice toolset for WSS/Stsadm administration? Is ...
2
votes
2answers
100 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 ...
2
votes
2answers
1k 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 ...
2
votes
0answers
49 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
1answer
180 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 ...
1
vote
2answers
656 views

unable to retract Sharepoint solutions

I am having trouble retracting solutions in SharePoint 2007. I used both the retract solution button and the stsadm command in command line. The timer job was created in both instances, but it never ...
1
vote
3answers
2k 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 ...
1
vote
3answers
1k views

Web site already exists error when restoring

I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. And I am using publishing portal template. And I am using command, stsadm -o restore -url ...
1
vote
2answers
2k 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
1answer
368 views

STSAdm Access Denied and UAC

If you have an access denied error message when executing an STSAdm command its easy to solve by turning off UAC. I can understand this, but what I would like to know is, what is the offical way to ...
1
vote
2answers
1k views

Why a restored stsadm Site is'nt showing images and styles?

i have a site which i migrated with stsadm -o restore -url urlto site - filename file.dat. Restored to a new web application in the production machine. The development machine does not use host ...
1
vote
3answers
6k views

People Picker and fltering by certain AD Groups

I have a scenario where a client wants to filter in the People Picker what AD Groups are available to choose from. For instance, when selecting what AD User/AD Group can be added to an Alert on a ...
1
vote
2answers
373 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 ...
1
vote
2answers
540 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?
1
vote
1answer
290 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 ...
1
vote
2answers
1k 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 ...
1
vote
3answers
5k views

stsadm migrateuser: The user does not exist or is not unique

I'm running: stsadm -o migrateuser -oldlogin "domain1\user" -newlogin "domain2\user" -ignoreidhistory and getting the error "The user does not exist or is not unique". The users exist in both ...
1
vote
1answer
154 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 ...
1
vote
4answers
1k 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
2answers
319 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 ...
1
vote
1answer
2k views

stsadm -o execadmsvcjobs as part of a batch command

When using the stsadm -o execadmsvcjobs as part of a batch command we are finding that even though the command is saying all the jobs have been run, the jobs haven't necessarily completed. This means ...
1
vote
1answer
734 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
1answer
242 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 ...
1
vote
1answer
74 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
137 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 ...
1
vote
1answer
531 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? For example I'm exporting the site, ...
1
vote
2answers
755 views

Corrupted site collections

I ran a stsadm -o enumsites and received 2 error messages in the output. It generates the error: The system cannot find the path specified. (Exception from HRESULT: 0x80070003). I know the URL of ...
1
vote
2answers
428 views

How can I get the job-immediate-alerts stsadm property setting to work?

Despite my running the following command: stsadm -o setproperty -pn job-immediate-alerts -pv "Every 1 minutes between 0 and 59" the immediate alerts timer job runs every five minutes. What do I ...
1
vote
3answers
464 views

Write error on restore

I am moving a site from one url to another within the same site collection. Stsadm -o backup..... works great and says the operation completed successfully since the guid's of everything stay the ...
1
vote
1answer
43 views

Rename SharePoint 2010 Web Server

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 ...
1
vote
1answer
113 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
0answers
102 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
3answers
116 views

What this command “Stsadm” does?

Hello Friends I want to know about this command "Stsadm". Exactly what is this command works? How can we use this command.
0
votes
2answers
840 views

Content database does not exist restoring a site collection

I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. And I am using publishing portal template. I am using the following backup and restore process to backup from site ...
0
votes
3answers
1k views

Access denied using the STSADM command

I am unable to use the STSADM command. When i try to use it, it shows me access denied. I am the admin of my system, but still I am getting access denied.
0
votes
3answers
446 views

Windows Powershell stsadm

I am quite new to windows powershell. I have tried to run the following command "stsadm -o setadminport. I get the error that the Term stsadm is not a recognized cmdlet, function etc. My reading ...
0
votes
1answer
523 views

Automating Site Collection Creation

I have a need to allow non farm administrators to be able to create site collections using a very specific site definition. These people will not have access to central admin and so require a custom ...
0
votes
3answers
500 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 ...

1 2