Tuesday, July 7, 2009
stsadm command line error
By Hristo Yankov
There is a common problem with stsadm being executed from the command line. For example, you run:
stsadm -o installfeature -name [featurename]
And you get "Command line error." in the console. It is because you have copy/pasted the command from your browser or somewhere else. There is a problem with the encoding.
Solution: Type the command in the console window, don't paste it.
Hope this helps.
There is a common problem with stsadm being executed from the command line. For example, you run:
stsadm -o installfeature -name [featurename]
And you get "Command line error." in the console. It is because you have copy/pasted the command from your browser or somewhere else. There is a problem with the encoding.
Solution: Type the command in the console window, don't paste it.
Hope this helps.
Tags:
article,
command line error,
force,
hyankov,
installfeature,
stsadm
1 comment:
If you are very lazy or unsure of your typing you can copy paste. but ho ahead and Delete the space between the command and the - including the - (the encoding error is almost always on the - and just add the space and the -. it will work file.
Post a Comment