Ensemble inequivalence and absence of quasi-stationary states in long-range random networks