exception if no server is defined