Questions tagged [stsadm]

56 questions
8
votes
3 answers

Sharepoint: executing stsadm from a timer job + SHAREPOINT\System rights

I have an unusual situation in which I need a SharePoint timer job to both have local administrator windows privileges and to have SHAREPOINT\System SharePoint privileges. I can get the windows privileges by simply configuring the timer service to…
Aleksey Kudryavtsev
6
votes
3 answers

How can I automate the process of deploying an InfoPath Form to SharePoint Server 2007?

It is a real pain to deploy my InfoPath 2007 Forms from the designer into our development environment's SharePoint server. All of our forms require "full trust" since they include business logic written in C#. Here are the manual steps: 1) Run the…
Saul Dolgin
  • 8,624
  • 4
  • 37
  • 43
6
votes
5 answers

Proper stsadm commands to update SharePoint Solution/Feature

What are the proper stsadm commands in sequence to force an upgrade to a SharePoint solution. I have tried C:>"C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN\stsadm.exe" -o deploysolution -name "MySolution.wsp" …
Omenof
  • 113
  • 1
  • 2
  • 9
6
votes
4 answers

Determining size of SharePoint sites / site collections

I'm about to start googling but figured I'd start here. We already found a VB script that enumerates SharePoint site collections / sites. It calls stsadm to achieve this and it recursively evaluates each site to get the sub-sites. I would like to…
Mayo
  • 10,544
  • 6
  • 45
  • 90
5
votes
2 answers

SharePoint wsp solution: How to Deploy Globally

I have created a wsp package and add it to Central Administration > Operations > Solution Management using the addsolution command of stsadm. When I click on the Deploy Solution menu, it transfers me to deploy to the solution page. In this page,…
Anoop
  • 5,246
  • 6
  • 27
  • 29
4
votes
3 answers

psexec inside visual studio

I've been trying to get psexec to run executables on remote machines from custom build tasks in visual studio. All of these commands work from the command line but running it from an application seems to be a problem. Some commands work, on other…
benzhi
  • 116
  • 1
  • 5
4
votes
2 answers

Preventing removal of a shared dll during a wsp solution uninstallation/retraction

I'm working on a bunch of solutions which uses a third party DLL from vendors like Telerik. We use the dll in most of your solutions. But when i uninstall any of the solutions the dll is getting removed from the assembly. This is a very unfortunate…
NLV
  • 21,141
  • 40
  • 118
  • 183
4
votes
2 answers

Best project format for VS2005 + SharePoint deployment?

First, let me use one sentence to let out some frustration: My god, developing for SharePoint is a f-ing mess! OK, sorry, let me focus in on 1 specific scenario. I've developed (VS2005) some functionality that works if I deploy it as a DLL on a…
Steve Eisner
  • 2,005
  • 23
  • 35
3
votes
3 answers

SharePoint stsadm addsolution - fails with permission based error (object ref)

Attempting to deploy a MOSS solution to a UAT server from dev server for the first time. On executing this command stsadm -o addsolution -filename xxx I get a "Object reference not set to an instance of an object" Based on these links: (and…
TheZenker
  • 1,710
  • 1
  • 16
  • 29
2
votes
2 answers

How do I delete a sharepoint group that has arabic characters in the title?

I have a sharepoint group that has arabic characters in the title. The site has been deleted, and I need to remove the group. When I use the GUI, I get this error message: Error Code: 500 Internal Server Error. The server denied the specified…
Nathan DeWitt
  • 6,511
  • 8
  • 46
  • 66
2
votes
2 answers

STSADM Command for Creating a Web Application

i'm scripting (as much as possible) a MOSS 2007 environment migration. i'm able to get most of it done using a batch file of STSADM commands, however, i'm unable to find an STSADM command to create a web application. Does one exist?
2
votes
4 answers

SharePoint site definitions not showing up in template list -- why?

I have some custom SharePoint site definitions that are deployed via SharePoint wsp solution packages. They appear to work fine. I can deploy them fine via the stsadm command line, and my C# code running in some features can also deploy sites…
Chris Farmer
  • 24,974
  • 34
  • 121
  • 164
2
votes
1 answer

deploying to sharepoint using the object model doesn't work reliably

Deploying to sharepoint using the object model or STSADM commands sometimes results in one or more packages being in the "error" state in the web control, a redeploy instantly fixes this, usually, even stranger, if i create two apps one which adds…
Nath
  • 203
  • 4
  • 17
2
votes
2 answers

Which stsadm command do and don't recycled the application pool?

I'm trying to figure out if deploying/upgrading solutions and activating features recycles the app pool or interrupts/slows the user's actions in any way. I need to know if these steps can be performed while there is load on the server, or it is…
Eugene Katz
  • 5,208
  • 7
  • 40
  • 49
2
votes
4 answers

How to re-compress the .cmp file, created by stsadm export command, after editing

I need to manually edit some of the files inside of the .cmp file created by stsadm export command (or SharePoint Designer backup). I can extract the files and make the edits, but don't know how to properly re-compress the files so that the…
Eugene Katz
  • 5,208
  • 7
  • 40
  • 49
1
2 3 4