June 14, 2007

MOSS: stsadm setproperty returns "Command line error"

Problem:
Trying to run commands such as:

stsadm -o setproperty -url http://url.to.site.com:80 -pn "peoplepicker-searchadforests" -pv "domain:my.domain.com"

return error message Command line error.

Solution:
Use stsadm.exe like this:

stsadm.exe -o setproperty -url http://url.to.site.com:80 -pn "peoplepicker-searchadforests" -pv "domain:my.domain.com"

Logical:
No, but not many things are in MOSS.

1 comment:

  1. Hello All,

    I am also experiencing the same issue.
    If try to run any command ,I am getting the “Command line error”
    Could anyone get out me to this issue

    Thank you

    ReplyDelete