STSADM is a command-line utility for configuring SharePoint

learn more… | top users | synonyms

1
vote
1answer
425 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
2k 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
195 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
0answers
111 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
736 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
3k 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
87 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
220 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
3answers
3k 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
1k 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
1k 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
76 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 ...
2
votes
3answers
2k 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
1answer
444 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
3answers
1k 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
2answers
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 ...
0
votes
1answer
823 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?
1
vote
2answers
4k 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
372 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 ...
0
votes
2answers
142 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
650 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
4k 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 ...
0
votes
1answer
763 views

Import/Export Version History Modified Date

Im migrating a SPS2003 site to MOSS 2007. Its crucial I maintain version history. I followed this process: Do the pre upgrade check Backup DB from SPS2003 Restore DB to SQL in virtual machine with ...
0
votes
1answer
422 views

Issues With Sharepoint 2007 installation and stsadm restore (User)

I'm used to install SharePoint with the basic option, that install SQL SERVER EXPRESS 2005 and configures almost everything, but now I need to install SharePoint using a database already installed ...
1
vote
2answers
945 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 ...
0
votes
2answers
271 views

Site Collection Import Issue using stsadm

I am having some issues with importing a PUblishing Site Collection using stsadm import. THe Export didn't report any issues and in fact the import reported no issue. When we try to access the root ...
0
votes
2answers
122 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
436 views

Where are deployed solutions being used?

I'm in a MOSS 2007 environment and am looking to find a way to see where solutions listed in the stsamd -o enumsolutions are activated in site collections. How would I go aout finding out where these ...
1
vote
1answer
430 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
3answers
2k 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 ...
0
votes
1answer
139 views

Questions about importing / exporting using stsadm

I have 2 questions regarding stsadm -o import My site has custom content types, but these are activated at site collection level. So Should I first install the WSP package on target server, then ...
0
votes
2answers
167 views

would this retract a solution from only one server in a farm?

I have a webpart that failed on one web server and works fine on another. The issue seems to be related to the .DLL on the failing web server. If i use the command stsadm -o retractsolution and ...
0
votes
3answers
248 views

Workflow Migration from a SharePoint 2007 web-application

We have a custom workflow in a SharePoint 2007 web-application and would like to use the same workflow in another web-application (SharePoint 2007). How can we achieve this? do we have any migration ...
0
votes
1answer
267 views

add activatefeature bat file wspbuilder solution package

I am using WSPBuilder to package up my features that creates lists and libraries. Is there a way to add a bat file with the package will activate these lists and libraries (since they are for ...
0
votes
1answer
399 views

List all Master Pages used in a Site Collection

In a SharePoint (MOSS 2007) environment how can I list all the Master Pages (templates) that are used in a site collection? I need to add some code to the header of every master page, but there are a ...
0
votes
3answers
166 views

Solution deploying 'succesfully', yet doesn't..

MOSS 2007 :) I am having problems deploying a webpart.. This webpart was successfully installed and deployed on a similar environment with no problems. However when trying to deploy it in its ...
1
vote
2answers
565 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 ...
0
votes
3answers
684 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 ...
3
votes
2answers
811 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. ...
0
votes
4answers
3k 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
1answer
2k views

stsadm createsite “User cannot be found” error

I'm trying to create a site collection via stsadm. I do: STSADM -o createsite ` -url "<url>" ` -title "<title>" ` -description "<desc>" ` -lcid 1033 ` ...
2
votes
1answer
185 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 ...
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 ...
3
votes
2answers
742 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 ...
0
votes
1answer
385 views

List exists error when using stsadm -o import command

When using the stsadm -o import command I am getting an error relating to a list already existing, the import then seems to fail. Should it not handle this scenario of a list already existing on the ...
2
votes
2answers
5k 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
566 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
177 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 ...
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 ...