Question : Sharepoint 2010 Error when using stsadm

We are getting a generic 'command line error' when trying to set an OU for a site to select users from in Exchange 2010

command:
stsadm -o setsiteuseraccountdirectorypath -path "OU=CompanyA-Users,OU=CompanyA,OU=101,OU=Users,DC=Domain,DC=local" –url https://CompanyA.Domain.com:37231


I am able to run this one without error (which I am using to set a custom from address for the sites)
command:
stsadm -o email -outsmtpserver mail.example.com -fromaddress [email protected] -replytoaddress [email protected] -codepage 65001 -url http://web_app_url


Any ideas what the command line error may be?

I get the same error even when I try this:

PS C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN> ./stsadm.exe help setsiteuseraccountdirectorypath

Command line error.


Usage:
           stsadm.exe -o <operation> [<parameters>]
           stsadm.exe -help [<operation>]
…….


Answer : Sharepoint 2010 Error when using stsadm

With WCF service, the type should be concrete and cannot immutable. Unfortunately T doesn't work well with WCF
Random Solutions  
 
programming4us programming4us