Considering increasing uncertain renewable energy sources (RES) and flexible loads in active distribution network (ADN), this study proposes a novel optimal model for robust hourly energy scheduling of ADN. Firstly, a deterministic optimal dispatching model is formulated, which aims at minimizing the total operation cost of distribution network; Secondly, the information gap decision theory (IGDT) is employed to handle uncertainties of RES generation. One of the features of the proposed model is to take into account the impact of demand response of flexible loads and energy storage system (ESS) as the effective tools to reduce unintended costs due to uncertainty of RESs. Also, the uncertainty of RESs is handled in a way that maximum tolerable uncertainty is achieved for a given worsening of total operation cost. The model is formulated as a mixed integer nonlinear optimization problem and solved in the genetic algorithm. Numerical simulation on the IEEE 33-bus system has been performed. Comparisons with two types of probabilistic techniques demonstrate the effectiveness and benefits of the proposal.