Saying that NEP was a success is like saying replacing daily savage beatings with moderate floggings on weekends only is a success. Of course, the latter is better, but you're still beaten pretty bad. NEP was better than what preceded and followed it, but was very far from the "right thing" - and was never intended as anything but temporary measure to allow the economy to recover a bit after the savage years of the war and "war communism", and the centrally planned economy always was and remained the ultimate goal of socialism. What Stalin did was inevitable.
The "right thing" with agriculture seems to be a mix between socialist tight control and capitalist principles. Lenin had a lot of success with the New Economic Policy [1], until Stalin crushed it all.
[1]: http://en.wikipedia.org/wiki/New_Economic_Policy