Is there a way to solo the fountain?
OK first of all and easiest you can do it with Sniper lvl 7. His range is bigger than the fountain's range and you could easily do it as long as nobody is bothering you. There is no other ranged hero who can destroy it solo.
For melee heroes, the easiest way is to buy Vladimir's offering as it grants lifesteal from the fountain.
Leoric is best suited for this as your passive lifesteal works on the fountain so you won't even need Vladimir's — just damage. Though Vladimir's makes it very easy.
Rikimaru is probably in top three due to the 75% miss from smoke. Just get butterfly and some rapiers and you should do it. Attack until 30% then smoke: you will be almost full. Lather rinse repeat.
Last one which worked for me is Faceless Void, although he is a little harder as Chronosfere doesn't work on fountain. Passive skill for damage block and a butterfly, full rapier should do it.
This heroes worked for me, but I've also seen people succesfuly soloing it with heroes like Ursa or Syllabear(best full item build hero 12 item slots).
If you are not that selfish, bring on a Crystal Maiden with you. She can cube the fountain making it easy to kill with any hero. Another good support to kill the fountain would be Omniknight due to ultimate and heal.