Plans to convert a disused town centre dancehall and nightclub into a HMO have been thrown out.