Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have made an upgrade from sps07 to sps10 and I am trying now to make backups of sps10 using the command

stsadm -o backup -directory c:\backup -backupmethod full

The problem that Occurs is that stsadm crashes when trying todo the backup. Even worse is that when I try just to start stsadm from the command line I get following error.

Unhanded exception: System.MissingMethodException: Methode not found: "Void Microsoft.SharePoint.SPRequestManager.Dispose()".at Microsoft.SharePoint.StsAdmin.SPStsAdmin.Main(String[] args)

Holy moly what is happening?!

share|improve this question

2 Answers 2

up vote 2 down vote accepted

While I agree with what Robert says - STSADM should still run on 2010, it is just deprecated. (This is to help with the migration from STSADM stuff to Powershell based stuff.)

My guess is that you are still running the 2007 version of STSADM. I copied a 2007 version of STSADM to a (fresh) 2010 server, and got the exact same error as you.

Are you going directly to program files\common files\microsoft shared\web server extensions\14\bin to run STSADM? Or do you have the hive setup in your PATH environment variable (or in a batch script, or something else that would set it automatically?) Check to make sure that you are going to \14\bin and not \12\bin

share|improve this answer
    
You where right! I have a Backup script which runs the stsadm command by calling the depraceted path. I had to change it like you said to \12\bin –  elhombre Jun 10 '10 at 11:19

For SharePoint 2010, you should switch from STSADM to PowerShell. The following link to TechNet shows the mappings between STSADM commands and PowerShell.

http://technet.microsoft.com/en-us/library/ff621084.aspx

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.